Navigation: Ultimate Suite for PowerBuilder Help > Toolbar Strip > Functions >

of_setvisible

Send comments on this topic.

 

Description:

Shows or hides a button based on the index or item text.

Syntax:

of_setvisible (long al_item, boolean ab_switch)
of_setvisible (string as_item, boolean ab_switch)

Argument

Description

al_item

The index of the button you want to show or hide.

as_item

The text of the button you want to show or hide.

ab_switch

Pass TRUE to show the button or FALSE to hide it.

Return Value:

Returns 1 if successful or a 0 if the method was unable to enable or disable the button.

Usage:


Copyright © 2021 Werysoft Inc.