TCustomGrid.IsMouseOverCellButton function
Indicates if the specified mouse position is over a cell defined with a button column cell editor.
Declaration
function IsMouseOverCellButton(X: Integer; Y: Integer): BooleanDescription
The return value is True when the mouse coordinates in X
and Y are located over a cell which uses a button column cell
editor. IsMouseOverCellButton temporarily disables AllowOutBoundEvents while
the return value is determined.
IsMouseOverCellButton is used in the implementation of the MouseDown method to determine if the cell needs to be drawn in a pushed state.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
