Navigation: Ultimate Suite for PowerBuilder Help > DWNav > 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)

Argument

Description

al_item

The index of the button you want to show or hide. Use one of the following constants: FIRST_RECORD, PREV_RECORD, NEXT_RECORD, LAST_RECORD, INSERT_RECORD, DELETE_RECORD

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.