>>-aTabControl~ItemInfo(--tab--)-------------------------------><
The ItemInfo method retrieves information about a tab in a tab control.
The only argument is:
The number of the tab.
A compound variable that stores the attributes of the tab, or -1 in all other cases. The compound variable can be:
The label text for the tab.
The index of the tab in the image list of the tab control, or -1 if the tab does not have an image.
An integer value stored together with the tab to save information:
The following example displays the text of all tabs:
::method DisplayText
curTab = self~GetTabControl("ID_TAB")
if curTab \= .Nil then do
do i = 0 to curTab~Items - 1
ItemInfo. = curTab~ItemInfo(i)
say ItemInfo.!Text
end
end