Button Constructor

Creates a 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

From the Sally manual (GPL-2.0-or-later), © 1997-2023 Open Salamander Authors; © 2025-2026 Elias Bachaalany. Source: manual source (zip) · original page in the Sally repository