TGraphicControl.CMCursorChanged procedure
Handles the CM_CURSORCHANGED message for the control.
Declaration
procedure CMCursorChanged(var Message: TLMessage); messageDescription
CMCursorChanged is an overridden method in TGraphicControl. It
ensures that the control is Visible before the temporary cursor shape is
changed.
Visible must be set to
True, and the
Parent
control (with the window handle) must be assigned before the control can be
displayed. No actions are performed in the method if Visible is
False,
or Parent is
Nil.
In addition, the mouse must be over the control to apply the cursor shape
using SetTempCursor and the value in the Cursor
property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
