[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if the specified mouse position is over a cell defined with a button column cell editor.
Source position: grids.pas line 1122
protected function TCustomGrid.IsMouseOverCellButton( |
X: Integer; |
Y: Integer |
):Boolean; |
X |
|
Horizontal screen coordinate for the mouse pointer. |
Y |
|
Vertical screen coordinate for the mouse pointer. |
True when the mouse coordinates in X and Y are located over a cell which uses a button column cell editor.
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.
|
Definitions for the columns displayed the grid. |
|
|
Returns the grid column definition at the specified position in Columns. |
|
|
Allows a mouse click on unused space in the control, and moves the cursor to the nearest valid cell. |
|
|
Converts mouse coordinates to the grid coordinates for a cell in the grid. |
|
|
The style used for a button displayed in the column. |