From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
有下列几种方法能够来解决这个问题
需要注意的是放弃事件的布尔控制会阻止用户输入的命令,它只对用户界面有作用。例如,即使用户在按键,也无法输入在文本框或者数值字符串输入控件中输入文字了。键按下的事件结构如下图所示,链接中有范例程序.
注意:需要小心使用禁用模式。当键被禁用时有程序死机了,键盘对其他程序也是无法访问的。
注意:这个选项只在微软XP下使用
|