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

Default

Send comments on this topic.

 

Description:

The Default property specifies that the control is the default button.

Syntax:

Default()
Default(boolean ab_switch)

Argument

Description

ab_switch

Pass TRUE to set the button as the default, FALSE to remove the button as the default.

Return Value:

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

Usage:


Copyright © 2021 Werysoft Inc.