[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomControlBar.SetCursor

Sets the Cursor to the specified TCursor shape.

Declaration

Source position: extctrls.pp line 1647

protected procedure TCustomControlBar.SetCursor(

  Value: TCursor

); override;

Arguments

Value

  

TCursor shape

Description

SetCursor is an overridden method in TCustomControlBar used to set the cursor to the specified cursor shape. It calls the inherited method on entry to perform the CM_CURSORCHANGED control message for the control. This triggers the ChangeCursor method which applies the cursor shape in Value. Value is also stored in the FDefCursor member as the default cursor shape.

See also

TCustomControlBar.ChangeCursor

  

Changes the cursor to the specified shape.

TControl.SetCursor

  

Sets the value for the Cursor property.

TControl.Cursor

  

Contains the shape for the mouse pointer when the mouse is over the control.


Version 4.0 Generated 2025-05-03 Home