SelectedTab – PB Docs 150

SelectedTab property for PowerScript controls

Controls

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

proc.png To specify the selected tab:

  1. 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
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x