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

InsertGroupFirst – PB Docs 2021 – PowerBuilder Library

InsertGroupFirst – PB Docs 2021

InsertGroupFirst

PowerScript function

Description

Inserts a group as the first item in the panel.

Applies to

RibbonBar
control

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

PanelHandle

The handle of the panel into which you want to insert a
group.

Item

A group item to be inserted.

Return value

Long.

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

Example 1

This example inserts a group as the first item in the “MyPanel”
panel.

Example 2

This example also inserts a group as the first item in the “MyPanel”
panel. It defines a group item lr_Group and then inserts it
as the first item in the “MyPanel” panel.

See also

InsertGroup

InsertGroupLast

DeleteGroup

SetGroup

GetGroup

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