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

Cancel

Send comments on this topic.

 

Description:

Cancel defines whether the Esc key activates the button or control.

Syntax:

Cancel()
Cancel(boolean ab_switch)

Argument

Description

ab_switch

Pass TRUE to set the button as the Cancel Button, FALSE to remove the button as the Cancel button.

Return Value:

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

Usage:


Copyright © 2021 Werysoft Inc.