TTabGetImageEvent procedure type
Specifies an event handler type used to get the position in an image list for the image on a tab.
Declaration
TTabGetImageEvent = procedure(Sender: TObject; TabIndex: Integer;
var ImageIndex: Integer) of objectArguments
Sender | Object (TCustomTabControl) for the event notification. Provides access to the pages and the image list for the control. |
TabIndex | Ordinal position for the tab (or page) examined in the handler. |
ImageIndex | Used to return the ordinal position for the image displayed for the specified tab. Return -1 if an image index is not assigned or available for the tab. |
Description
TTabGetImageEvent is the type used for the OnGetImageIndex event
handler in TCustomTabControl.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
