TDragDockObject.HasOnDrawImage function
Checks for an assigned OnDrawDockImage event handler.
Declaration
function HasOnDrawImage: Boolean; virtualFunction result
True when an event handler has been assigned to OnDrawDockImage.Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
