ChangeSelectedIndex
This function select/open an especific item in the tab window.
Function Definition:
void ChangeSelectedIndex( int index );
. int index: A integer parameter containing the item in the Tab Object(index starts with 0).
To configure this function, follow the steps below:
1. In an object event, configure the ChangeSelectedIndex function: TabObjectName.ChangeSelectedIndex(index);
2. During the execution of RunTime, run the configured event.
Example:
In the graphic document, the user has one Tab object (named as Tab1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:
Tab1.ChangeSelectedIndex(1);
In this event, the Object Tab will open the second tab(the first tab has index 0, the second tab has index 1 and so on) .
|
Note: This property exists only to the following objects: . Tab |