ControlActive

ControlActive[act,norm]

如果使用的控件影响 act,计算 act ,否则计算 norm.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

在控件正在使用时,改变显示:

范围  (2)

ControlActive 的参数可以是任意表达式:

ControlActive 在一个低分辨率版本和一个高分辨率版本之间切换:

应用  (2)

仅当操控器没有激活使用时,发出一个声音:

当正在动态操作时,使用较低的取样:

属性和关系  (2)

通过使用 Dynamic 的第二个参数, 您可以获得和 ControlActive 相似的效果:

PerformanceGoal 设置 ControlActive,有效绘制函数:

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 年

BibTeX

@misc{reference.wolfram_2024_controlactive, author="Wolfram Research", title="{ControlActive}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ControlActive.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_controlactive, organization={Wolfram Research}, title={ControlActive}, year={2007}, url={https://reference.wolfram.com/language/ref/ControlActive.html}, note=[Accessed: 22-November-2024 ]}