[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the ordinal position for the image displayed on the tab for the specified page.
Source position: comctrls.pp line 477
public function TCustomTabControl.GetImageIndex( |
ThePageIndex: Integer |
):Integer; virtual; |
ThePageIndex |
|
Ordinal position in Page with the image index for the tab. |
Ordinal position in Images for the specified page index.
GetImageIndex is an Integer function used to get the ordinal position in Images for the image displayed on the specified tab. ThePageIndex contains the Page examined in the method to get its ImageIndex property. If Page does not have a TCustomPage instance at the position in ThePageIndex, -1 is used as the image index.
GetImageIndex signals the OnGetImageIndex event handler (when assigned) to allow a custom image index to be used in the return value.
GetImageIndex is called from methods in the widgetset class when the image displayed on a tab is needed.
|
Provides indexed access to the page objects used on the tabbed control. |
|
|
Ordinal position for the selected page on the tabbed control. |
|
|
Contains the ordinal position for the active Tab in the control. |
|
|
Contains the images displayed on the tabs for the control. |
|
|
Event handler signalled to get the image index for a tab on the tabbed control. |
|
|
Ordinal position for the image associated with the page. |
Version 4.0 | Generated 2025-05-03 | Home |