Button Constructor

Creates new instance of the Button control.

Syntax

Button([text], [result])

Parameters

text

Optional. String displayed on the button.

result

Optional. Result of the Form.Execute method when the button is pressed. See DialogResult property of the Button control for more information.

See Also

Button Object