OnTitleImageClick

Class: TEgDBGridEx

property OnTitleImageClick: TEgDBGridTitleImageClick;

Fired when a click lands specifically on a column’s title image (see TEgColumn.TitleImageIndex), rather than elsewhere in the title cell. Mutually exclusive with OnTitleCellClick for the same click - the same way a click on the sort-arrow glyph already takes priority over a plain title click. Also available at column level (see TEgColumn.OnTitleImageClick); when both are assigned, the grid-level handler runs first. See TEgDBGridTitleImageClick.

Column.TitleImageIndex must actually be set for this event to have anything to click - an image drawn only via OnBeforeDrawTitle without also setting TitleImageIndex is not detected as a title image for click purposes.

See Also

(C) 2026 Easygate, Lda