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

Enabled

Send comments on this topic.

 

Description:

When the Enabled property is enabled, the control can have focus.

Syntax:

Enabled()
Enabled(boolean ab_switch)

Argument

Description

ab_switch

Pass TRUE to enabled the button, FALSE to disable the button.

Return Value:

Returns the enabled state when no parameters are passed in. Returns 1 if TRUE or FALSE is passed in.

Usage:


Copyright © 2021 Werysoft Inc.