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

of_setenabled

Send comments on this topic.

 

Description:

Enables or disables a button based on the index or item text.

Syntax:

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

Argument

Description

al_item

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

as_item

The text of the button 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 button.

Usage:

See Also:
of_isenabled


Copyright © 2021 Werysoft Inc.