Class: TEgColumn
property TitleImageIndex: Integer default -1;
Default index into the grid’s Images for this
column’s title cell. -1 (the default) means “no image”, the
same convention ImageIndex and
OnBeforeDrawTitle’s
own ImageIndex parameter already use.
Read before OnBeforeDrawTitle runs (grid handler, then
this column’s), which can still freely raise, lower, or clear whatever
this property seeded. Must actually be set for OnTitleImageClick
/ TEgColumn.OnTitleImageClick
to detect a click on the title image - drawing an image only via
OnBeforeDrawTitle without also setting this property is not
enough for click detection.
See also TitleImageAlignment
to position the image.