Sign in Join
FPDoc Onlineexperiment

TStringGrid.TitleImageList property

Member of TStringGridpublishedIn unit Grids

The list with images displayed in column titles.

Declaration

pascal
property TitleImageList:;

Description

TitleImageList is a TCustomImageList property which contains images displayed in the title area for columns on the grid. It can include images used for the ascending and descending column sort indicators when TitleStyle is set to a value other than tsNative. Use ImageIndexSortAsc and ImageIndexSortDesc to specify the positions for sort images stored in TitleImageList.

Setting a new value for the property causes the VisualChange method to be called to update column sizes and to redraw the control.

TitleImageList is used to get an image resolution with the width specified in TitleImageListWidth. The images are used (when assigned) in DrawColumnTitleImage and DrawColumnText to render the TGridColumn instances defined in the Columns collection.

Use the Title property in the TGridColumn instance to assign the ImageIndex and ImageLayout needed for the title image.

This description is the one of Grids.TCustomGrid.TitleImageList.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.