SelectIndex

>>-aTabControl~SelectIndex(--tab--)----------------------------><


The SelectIndex method selects the specified tab in a tab control.

Arguments:

The only argument is:

tab

The number of the tab to be selected.

Return value:

The number of the previously selected tab, or -1 in all other cases.