Xbasic

BP_BUTTON_PASSWORD Function

Syntax

Result_Flag as L = bp_button_password(P obj )

Arguments

obj

A pointer to the button object.

Returns

Result_FlagLogical

Indicates whether the password was successfully set.

Description

Opens the Set Button Password dialog.

Discussion

The BP_BUTTON_PASSWORD() function displays the Set Button Password dialog box, which allows you to assign a password to the button.

Example

The following script was placed under the OnPush()event of a button.

bp_button_password(button1.this)

Limitations

Desktop applications only.

See Also