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

SetActiveCategory – PB Docs 2021 – PowerBuilder Library

SetActiveCategory – PB Docs 2021

SetActiveCategory

PowerScript function

Description

Sets the active category in the RibbonBar control.

Applies to

RibbonBar
control

Syntax

Argument

Description

controlname

The name of the RibbonBar control.

ItemHandle

The handle of the category that you will set to
active.

Return value

Integer.

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

Examples

This example inserts two categories “MyCategory1” and “MyCategory2”
and sets “MyCategory2” as the active category.

See also

InsertCategory

InsertCategoryFirst

InsertCategoryLast

DeleteCategory

SetCategory

GetCategory

GetCategoryByIndex

GetCategoryCount

GetActiveCategory

SetActiveCategoryByIndex


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