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:
jesus 2014-03-11 18:50:13 +00:00
parent 635f14467e
commit 2ffd578010

View File

@ -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