mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-21 07:59:34 +02:00
LazReport, at lazarus design time fix datafields not available if report is not on same form, issue #21050
git-svn-id: trunk@44407 -
This commit is contained in:
parent
635f14467e
commit
2ffd578010
@ -457,6 +457,13 @@ begin
|
||||
end;
|
||||
|
||||
Owner := FindGlobalComponent(s1);
|
||||
if Owner=nil then begin
|
||||
// try screen registered containers
|
||||
// which at design time are not in FindGlobalComponentList
|
||||
Owner := Screen.FindDataModule(s1);
|
||||
if Owner=nil then
|
||||
Owner := Screen.FindForm(s1);
|
||||
end;
|
||||
if Owner <> nil then
|
||||
begin
|
||||
if s3<>'' then
|
||||
|
Loading…
Reference in New Issue
Block a user