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

GetTabButtonByIndex – PB Docs 2022 – PowerBuilder Library

GetTabButtonByIndex – PB Docs 2022

GetTabButtonByIndex

PowerScript function

Description

Gets the tab button according to the index in the RibbonBar
control.

Applies to

RibbonBar
control

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

Index

The index of the tab button you want to obtain.

Item

A RibbonTabButtonItem variable in which you want to store
the tab button identified by the index.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, returns null.

Usage

You can also get the tab button according to its handle using the
GetTabButton function.

Example 1

This example inserts a “MyTabButton” tab button and then gets a copy
of the tab button whose index number is 1.

Example 2

This example searches all tab buttons for the tab button whose tag
value is “up”.

See also

InsertTabButton

InsertTabButtonFirst

InsertTabButtonLast

DeleteTabButton

SetTabButton

GetTabButton

GetTabButtonCount


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