mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-03 14:58:19 +02:00
designer: fix TJITForms.IsJITForm
git-svn-id: trunk@51136 -
This commit is contained in:
parent
1220d1bec2
commit
00c6de89c7
@ -1895,7 +1895,7 @@ end;
|
|||||||
function TJITForms.IsJITForm(AComponent: TComponent): Boolean;
|
function TJITForms.IsJITForm(AComponent: TComponent): Boolean;
|
||||||
begin
|
begin
|
||||||
Result:=(AComponent<>nil) and (AComponent is TCustomForm)
|
Result:=(AComponent<>nil) and (AComponent is TCustomForm)
|
||||||
and (TCustomForm(AComponent).Parent=nil) and (IndexOf(AComponent)>=0);
|
and (IndexOf(AComponent)>=0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TJITForms.GetItem(Index: integer): TCustomForm;
|
function TJITForms.GetItem(Index: integer): TCustomForm;
|
||||||
|
Loading…
Reference in New Issue
Block a user