mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:39:13 +02:00
Lazreport, Patch form Aleksey Lagunov:
1. Fix AV in BeforePrintScript 2. Fix set Visible:=false in BeforePrintScript for LazReport Dialog forms. git-svn-id: trunk@40833 -
This commit is contained in:
parent
88212d1ab2
commit
3105302469
@ -11348,7 +11348,8 @@ begin
|
||||
{$IFDEF DebugLR}
|
||||
DebugLn('Trying to find RT Object "',St,'"');
|
||||
{$ENDIF}
|
||||
t := CurPage.FindRTObject(St);
|
||||
if Assigned(CurPage) then
|
||||
t := CurPage.FindRTObject(St);
|
||||
if not Assigned(t) then
|
||||
t:=CurReport.FindObject(Copy(Name, 1, Pos('.', Name) - 1));
|
||||
Prop := Copy(Name, Pos('.', Name) + 1, 255);
|
||||
@ -11853,6 +11854,8 @@ var
|
||||
i:integer;
|
||||
P:TfrControl;
|
||||
begin
|
||||
if not fVisible then
|
||||
exit;
|
||||
fHasVisibleControls:=False;
|
||||
for i:=0 to Objects.Count - 1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user