[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed when a mouse click occurs in the grid control.
Source position: grids.pas line 1017
protected procedure TCustomGrid.Click; override; |
Click is an overridden method used to perform actions needed when a mouse click occurs in the control. The grid control provides an internal flag to suppress mouse click handling when the event occurs in a "hot zone" (fixed header cells for columns or rows). Click checks the value in the internal flag, and calls the inherited method when the click occurs in the "normal" data cells for the grid.
Click is called from methods like SetCol, SetRow, and SetColRow to emulate a mouse click when values are assigned to the Col and/or Row properties.
|
Column index for the selected grid cell. |
|
|
Row number for the selected grid cell. |
|
|
Provides access to current column and row numbers as a TPoint instance. |
|
|
Signals OnClick and/or executes the ActionLink when the control has been clicked. |
Version 4.0 | Generated 2025-05-03 | Home |