mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 01:38:01 +02:00
Docs: LCL/forms. Updates the TApplication.ShowHintWindow topic for changes in 6a6db7e8
. Issue #41535.
This commit is contained in:
parent
6a6db7e851
commit
4cda63582d
@ -15521,18 +15521,24 @@ are signalled next.
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
If the hint text or hint data was not assigned in the event handlers, the hint
|
If the hint text or hint data was not assigned in the event handlers, the hint
|
||||||
text for the hovered control is used. Only the first "|"-delimited line of text
|
text for the hovered control is used. Only the first "|"-delimited line of
|
||||||
in TControl.Hint is used for the hint.
|
text in TControl.Hint is used for the hint.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The hint window for the application is created (or re-created) and configured
|
The hint window for the application is created (or re-created) and configured
|
||||||
as needed, and the show hint command is performed for the hint control. The
|
as needed. This includes setting the BiDiMode in the hint window to match the
|
||||||
ActivateHintData method in the hint window is called to display (or hide) the
|
hint control, as well as the position and color for the hint window.
|
||||||
hint window and activate (or reset) the auto-hide timer.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
If the hint control is no longer valid or the hint text is empty, the HideHint
|
ActivateHintData is called to display the hint window when hint data is used
|
||||||
method is called to hide an existing hint window.
|
in the hint information. ActivateHint is called to display the hint window
|
||||||
|
when the hint information contains only hint text. The timer used to auto-hide
|
||||||
|
the hint window is started using the hide or reshow timeout values found in
|
||||||
|
the hint information.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
If the hint control is not assigned (no longer hovered) or the hint text is
|
||||||
|
empty, the HideHint method is called to hide an existing hint window.
|
||||||
</p>
|
</p>
|
||||||
</descr>
|
</descr>
|
||||||
<seealso>
|
<seealso>
|
||||||
@ -15548,13 +15554,13 @@ method is called to hide an existing hint window.
|
|||||||
</seealso>
|
</seealso>
|
||||||
</element>
|
</element>
|
||||||
<version>
|
<version>
|
||||||
Modified in LCL version 4.0 to call ActivateHintData for the hint window
|
Modified in LCL version 4.0 to call either ActivateHint or ActivateHintData
|
||||||
(instead of ActivateHint).
|
for the hint window based on the hint information derived in the method.
|
||||||
</version>
|
</version>
|
||||||
<element name="TApplication.ShowHintWindow.Info">
|
<element name="TApplication.ShowHintWindow.Info">
|
||||||
<short>
|
<short>
|
||||||
Contains information about the hint control, its mouse coordinates, and the
|
Contains information about the hint control, its mouse coordinates, and the
|
||||||
hint text used in the method.
|
hint text or data used in the method.
|
||||||
</short>
|
</short>
|
||||||
</element>
|
</element>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user