Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridHitTest.Cursor Method

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

#Declaration

Delphi
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