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

SelectedTab – PB Docs 2022 – PowerBuilder Library

SelectedTab – PB Docs 2022

SelectedTab

property for PowerScript controls

Applies to

Tab controls

Description

The SelectedTab property specifies the index number of the selected
tab page in the tab control. As the user selects tabs in the Tab control,
the value of SelectedTab changes to reflect the currently selected
tab.

Usage

In a painter

To specify the selected tab:

  • Enter a number in the Selected Tab field on the General page of
    the control’s Properties view.

    The number should be in the range 1 to N where N is the number
    of tab pages in the tab control.

In scripts

The SelectedTab property takes an integer value. The default value
is 1, and the integer must be in the range 1 to N, where N is the number
of tab pages.

The following line sets the index number of the selected tab page in
the Tab control tab_1 to 3:


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