mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:19:16 +02:00
Docs: LCL/forms. Modifies content in the TApplication.GetControlAtPos topic.
This commit is contained in:
parent
895c80c4ea
commit
6c177bc5b2
@ -8,7 +8,7 @@ Forms
|
|||||||
-->
|
-->
|
||||||
<module name="Forms">
|
<module name="Forms">
|
||||||
<short>
|
<short>
|
||||||
Implements Forms, which are the basis for the LCL Graphical User Interface.
|
Implements Forms which are the basis for the LCL Graphical User Interface.
|
||||||
</short>
|
</short>
|
||||||
<descr>
|
<descr>
|
||||||
<p>
|
<p>
|
||||||
@ -15403,16 +15403,16 @@ members in P are screen coordinates.
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
GetControlAtPos compares the coordinates in P to existing tracking members
|
GetControlAtPos compares the coordinates in P to existing tracking members
|
||||||
used for the last active control in the application. When the members are both
|
used for the last active mouse control in the application. If the control is
|
||||||
valid and equivalent to P, the previous active control is used in the return
|
valid and uses the coordinates in P, it is used as the return value for the
|
||||||
value. Otherwise, FindControlAtPos is called to locate the control under the
|
method. Otherwise, FindControlAtPos is called to locate the control at the
|
||||||
position in P.
|
position in P.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The return value is <b>Nil</b> if a control is not found for the specified
|
The return value is <b>Nil</b> if a control is not found for the specified
|
||||||
position, or when called at design-time. When the return value is assigned,
|
position, or when called at design-time. When the return value is assigned, the
|
||||||
the internal tracking members are updated for the last active control, its
|
internal tracking members are updated with the last active control and its
|
||||||
position, and the valid state for the members.
|
position.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
GetControlAtPos is used in the implementation of the GetControlAtMouse method,
|
GetControlAtPos is used in the implementation of the GetControlAtMouse method,
|
||||||
|
Loading…
Reference in New Issue
Block a user