Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SelectTab – PB Docs 150 – PowerBuilder Library

SelectTab – PB Docs 150

SelectTab PowerScript function

Description

Selects the specified tab, displaying its tab page in the
Tab control.

Controls

Tab controls

Syntax

Argument

Description

tabcontrolname

The name of the Tab control in which
you want to select a tab

tabidentifier

The tab you want to select. You can specify:

  • The tab page index (an integer)

  • The name of the user object (datatype DragObject
    or UserObject)

  • A string holding the name of the user object

Return Values

Integer. Returns 1 if it succeeds and
-1 if an error occurs.

Usage

Equivalent syntax

You can select a tab by setting the SelectedTab property to
the tab’s index number:

Examples

These three examples select the third tab in tab_1.
They could be in the script for a CommandButton on the window containing
the Tab control tab_1:

This example opens an instance of the user object uo_fontsettings as
a tab page and selects it:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x