表示关闭对话框的一对 确定 和 取消 按钮.
ChoiceButtons[{actok,actcancel}]
表示 确定 和 取消 按钮,当点击时,运行对应的 acti.
ChoiceButtons[{lblok,lblcancel},{actok,actcancel}]
用 lbli 作为按钮标签.
ChoiceButtons
表示关闭对话框的一对 确定 和 取消 按钮.
ChoiceButtons[{actok,actcancel}]
表示 确定 和 取消 按钮,当点击时,运行对应的 acti.
ChoiceButtons[{lblok,lblcancel},{actok,actcancel}]
用 lbli 作为按钮标签.
更多信息
- ChoiceButtons 以您当前计算机系统的常规顺序放置 确定 和 取消 按钮.
- ChoiceButtons[{lbl1,lbl2},{act1,act2},{opts1,opts2}] 分别给出每个按钮的选项.
- ChoiceButtons[lbls,acts,opts,gopts] 允许用 Grid 选项来指定按钮的布局.
范例
打开所有单元 关闭所有单元属性和关系 (1)
技术笔记
-
▪
- 创建对换框
相关指南
-
▪
- 对话框
文本
Wolfram Research (2008),ChoiceButtons,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ChoiceButtons.html.
CMS
Wolfram 语言. 2008. "ChoiceButtons." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ChoiceButtons.html.
APA
Wolfram 语言. (2008). ChoiceButtons. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ChoiceButtons.html 年
BibTeX
@misc{reference.wolfram_2025_choicebuttons, author="Wolfram Research", title="{ChoiceButtons}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/ChoiceButtons.html}", note=[Accessed: 22-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_choicebuttons, organization={Wolfram Research}, title={ChoiceButtons}, year={2008}, url={https://reference.wolfram.com/language/ref/ChoiceButtons.html}, note=[Accessed: 22-April-2026]}