Navigation: Ultimate Suite for PowerBuilder Help > Button ListBar > Functions >

of_setenabled

Send comments on this topic.

 

Description:

Enable or disable an item index or text.

Syntax:

of_setenabled (long al_index, boolean ab_enabled)
of_setenabled (string as_text, boolean ab_enabled)

Argument

Description

as_text

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

al_index

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

ab_enabled

Pass TRUE to enable the button, FALSE to diable it.

Return Value:

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

Usage:


Copyright © 2021 Werysoft Inc.