TTabControl.Images property
Contains the images displayed on the tabs for the control.
Declaration
property Images:;Description
Images is a published
TCustomImageList property in
TTabControl. It contains the images displayed on the Tabs for the
control.
Assigning a new image list to the property causes the widgetset class instance to be updated; the image list, the tab position, and properties for the page objects are sent to the widget. The new value in Images is also copied to the Images member in Tabs (TTabControlStrings). No actions are performed when the an image list already assigned to the property is assigned to Images again.
The Invalidate method is called to cause the control to be redrawn after the property value is changed.
Use ImagesWidth to set the default width and height for the images in the list.
Use the indexed Page property to access each TCustomPage object on the tabbed control to read or write its ImageIndex property. Or, Use OnGetImageIndex to determine the position in Images for a given page/tab index.
Modified in LCL version 4.2. Write access is an overridden method where the image list is copied to the Images in the Tabs property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
