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

GetSmallButton – PB Docs 2021 – PowerBuilder Library

GetSmallButton – PB Docs 2021

GetSmallButton

PowerScript function

Description

Gets the small button according to the handle in the RibbonBar
control.

Applies to

RibbonBar
control

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

ItemHandle

The handle of the small button you want to obtain.

Item

A RibbonSmallButtonItem variable in which you want to
store the small button identified by the item handle.

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 an item according to the handle by using the GetItem function.

Examples

This example inserts an “Add” small button and then gets a copy of
the small button according to its handle.

See also

InsertSmallButton

InsertSmallButtonFirst

InsertSmallButtonLast

DeleteSmallButton

SetSmallButton

GetChildItemByIndex


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