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

Syntax 2: for RibbonBar controls – PB Docs 2019 – PowerBuilder Library

Syntax 2: for RibbonBar controls – PB Docs 2019

Syntax 2: for RibbonBar controls

Description

Inserts a category in the RibbonBar control.

Applies to

RibbonBar controls

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

ItemHandleAfter

The handle of the category on the same level after which
you want to insert the category.

Text

The title of the category to be inserted.

Item

A category 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 the “MyCategory2” category after the
“MyCategory1” category.

Example 2

This example also inserts the “MyCategory2” category after the
“MyCategory1” category. It first defines a category item with various
properties (including Text, Tag etc.) and then inserts it after the
“MyCategory1” category.

See also

InsertCategoryFirst

InsertCategoryLast

DeleteCategory

SetCategory

GetCategory

GetCategoryByIndex

GetCategoryCount

SetActiveCategory

GetActiveCategory


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