DeleteLargeButton – PB Docs 2022

DeleteLargeButton

PowerScript function

Description

Removes a large button from the panel of the RibbonBar
control.

Applies to

RibbonBar
control

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

ItemHandle

The handle of the large button you want to delete.

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

Examples

The example gets the large button whose index number is 1 in the
“MyPanel” panel and then deletes it according to its handle.

See also

InsertLargeButton

InsertLargeButtonFirst

InsertLargeButtonLast

SetLargeButton

GetLargeButton

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