Class: TEgDBGridEx
property OnTitleCellRightClick: TDBGridClickEvent;
Fired on a right-click landing on a column’s title cell, passing the
clicked Column. Has no native equivalent to stand in for -
TDBGrid’s own OnTitleClick never fires for a
right-click - so this is a plain addition, not a replacement of
anything. Uses the standard VCL TDBGridClickEvent type
(procedure(Column: TColumn) of object), the same type
OnTitleCellClick itself uses.
Not gated by dgTitleClick (in Options),
matching OnTitleCellClick’s
own actual behavior rather than the native OnTitleClick
this event otherwise parallels: dgTitleClick only gates the
native title-click handling itself, not this unit’s own title-click
events, which always fire.
Also available at column level (see TEgColumn.OnTitleCellRightClick);
when both are assigned, the grid-level handler runs first.