Navigation: Ultimate Suite for PowerBuilder Help > Tab Control > Functions >

of_gettabindex

Send comments on this topic.

 

Description:

Gets the tab index number associated with the tab text passed in.

Syntax:

of_gettabindex (string as_tab_text)

Argument

Description

as_tab_text

The tab label that you want to retrieve the tab index for.

Return Value:

Returns an index based on the tab text passed in. Returns a 0 if the tab label doesn't exist in the control. If more than one tab contains the same label, the first index will be returned.

Usage:


Copyright © 2021 Werysoft Inc.