Navigation: Ultimate Suite for PowerBuilder Help > Tab Control > Functions >

of_setvisible

Send comments on this topic.

 

Description:

Shows or hides a tab based on the index or object reference passed in.

Syntax:

of_setvisible (long al_index, boolean ab_switch)
of_setvisible (userobject auo_object, boolean ab_switch)
of_setvisible (window aw_object, boolean ab_switch)

Argument

Description

al_index

The index of the tab you want to enable or disable.

aw_object

A reference to the window control for the tab you want to enable or disable.

auo_object

A reference to the userobject for the tab you want to enable or disable.

ab_switch

Pass TRUE to show a tab or FALSE to hide it.

Return Value:

Returns 1 if successful or a 0 if the method was unable to show or hide the tab.

Usage:

See Also:
of_isvisible


Copyright © 2021 Werysoft Inc.