[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Checks for an assigned OnDrawDockImage event handler.
Source position: controls.pp line 608
protected function TDragDockObject.HasOnDrawImage: Boolean; virtual; |
True when an event handler has been assigned to OnDrawDockImage.
HasOnDrawImage is a Boolean function used to determine if an event handler has been assigned to the OnDrawDockImage property. The return value is True if a routine has been assigned to the property. If an event handler has not been supplied, the HintDockImage routine is assigned to the event handler, and the return value is set to True.
For platforms where the Alpha blending is not enabled for Forms, the return value is always False (determined by calling GetSystemMetrics for the SM_LCLHasFormAlphaBlend metric in the widgetset class).
HasOnDrawImage is used in methods like ShowDockImage, HideDockImage, and MoveDockImage.
|
Shows the DockRect, and remembers the coordinates in EraseDockRect. |
|
|
Hides the DockRect, and invalidates EraseDockRect to prevent further erases. |
|
|
Moves an already visible DockRect. |
Version 4.0 | Generated 2025-05-03 | Home |