Navigation: Ultimate Suite for PowerBuilder Help > PowerDock > Functions >

of_setdocumentenabled

Send comments on this topic.

 

Description:

Enables or disables a document based on the object reference passed in.

Syntax:

of_setdocumentenabled (userobject auo_object, boolean ab_switch)
of_setdocumentenabled (window aw_object, boolean ab_switch)

Argument

Description

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 enable a tab or FALSE to disable it.

Return Value:

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

Usage:


Copyright © 2021 Werysoft Inc.