mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 04:09:20 +02:00
Docs: LCL/forms. Fixes error in GetParentForm topic from issue #39591.
This commit is contained in:
parent
965dee4181
commit
c875cc8f8e
@ -13891,7 +13891,7 @@ HintWindow.ActivateHint(Rect, 'This is the hint');
|
||||
Control is the <var>TControl</var> instance examined in the method. The <var>Parent</var> property is used to navigate to preceding parent controls until a <var>TCustomForm</var> instance is found.
|
||||
</p>
|
||||
<p>
|
||||
<var>TopForm</var> indicates if the top-most form instance in the hierarchy is needed. When set to <b>False</b> (the default), the first TCustomForm instance found in the control hierarchy is used. Otherwise, all Parent controls in the hierarchy are examined until a Parent control has not been assigned.
|
||||
<var>TopForm</var> indicates if the top-most form instance in the hierarchy is needed. When set to <b>False</b>, the first TCustomForm instance found in the control hierarchy is used. Otherwise, all Parent controls in the hierarchy are examined until a Parent control has not been assigned.
|
||||
</p>
|
||||
<p>
|
||||
The return value can contain the value in Control if it is a TCustomForm descendant and no other form instances are used in the control hierarchy. This is Delphi compatible.
|
||||
|
Loading…
Reference in New Issue
Block a user