Skip to main content

TcxCustomGridHitTest.Cursor Method

Specifies the image used to represent the mouse pointer when it hovers over the inspected grid element.

Declaration

function Cursor: TCursor; virtual;

Returns

Type
TCursor

Remarks

This function provides feedback to end-users when the mouse pointer hovers over the inspected grid element. The return value of the Cursor function represents the index of the cursor in the list of cursors maintained by the global variable, Screen or custom cursors added by an application. By default, the Cursor function returns crDefault. This indicates that the default cursor for the window class (usually, crArrow) will be displayed for the inspected grid element.

TcxCustomGridHitTest descendants override the Cursor function to provide return values specific to the grid elements that they’re associated with.

See Also