OnCellRightClick

Class: TEgFireGrid

property OnCellRightClick: TEgFireGridCellEvent;

TEgFireGridCellEvent = procedure(Sender: TObject; Column: TEgFireGridColumn; RowIndex: Integer) of object;

Occurs when a data cell is clicked with the right mouse button, or on a long press (half a second) with the finger or the left button; Android has no right button, so the long press is its right-click. Column is the cell’s column and RowIndex its window row (0 = the first row shown).

The right button does not change the active cell. A long press is not a tap: it opens no editor and toggles no check box. A typical use is a context menu for the row. The grid’s handler runs first, then the column’s own event of the same name.

With the touch multi-selection, a long press on the indicator gutter starts the selection instead (see TouchSelection).

See Also

(C) 2026 Easygate, Lda