fixed clicking on dsigner TDataModule

git-svn-id: trunk@9287 -
This commit is contained in:
mattias 2006-05-16 13:11:46 +00:00
parent 8ec5b0aee6
commit 33f05b97f4

View File

@ -1099,7 +1099,7 @@ var
begin
Result:=AControl;
if (Result=nil) or (Result=LookupRoot) or (Result.Owner=LookupRoot) then exit;
if (Result.Owner=nil) then exit(nil);
if (Result.Owner=nil) then exit(Result);
if (Result.Owner is TControl) then begin
OwnerControl:=TControl(Result.Owner);
if csOwnedChildsSelectable in OwnerControl.ControlStyle then