构造函数 Button

创建 Button 控件的新实例。

语法

Button([text], [result])

参数

text

可选。按钮上显示的字符串。

result

可选。按下按钮时 Form.Execute 方法的结果。有关详细信息,请参见 DialogResult 属性,它属于 Button 控件。

另请参阅

对象 Button

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