ControlActive
ControlActive[act,norm]
如果使用的控件影响 act,计算 act ,否则计算 norm.
更多信息
- ControlActive 可用于在速度较快的计算和速度较慢的计算之间切换:当诸如滑动条的控件移动时,进行较快的计算,当控件一旦释放,则运行速度较慢的计算.
- 当控件释放时,ControlActive[act,norm] 也可用于触发对 norm 的计算.
- ControlActive[] 等价于 ControlActive[True,False].
- ControlActive[act,norm] 实际上等价于 If[$ControlActiveSetting,act,norm].
范例
打开所有单元关闭所有单元范围 (2)
属性和关系 (2)
Wolfram Research (2007),ControlActive,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ControlActive.html.
文本
Wolfram Research (2007),ControlActive,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ControlActive.html.
CMS
Wolfram 语言. 2007. "ControlActive." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ControlActive.html.
APA
Wolfram 语言. (2007). ControlActive. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ControlActive.html 年