Getting selected index tab

To obtain the index of selected tab, we can use the following function.

ui_item_get_selected (control);

Return: Real

Argument control is the handle of ui_tab_create(...); function.

var index = ui_item_get_selected (tabMenu);

Getting selected items from tabMenu tab and save it to a local variable.

Function ui_item_get_text(...); can not be used in the control tab.

results matching ""

    No results matching ""