在LiveCode IDE中运行的实用程序插件需要经常完成数据库更新任务.重要的是任务不会被用户打断 - 他们可能正在处理另一个堆栈.有没有办法禁用标准的ctrl +句点,并避免任务被中途停止一半?
您可以使用全局'allowInterrupts'属性:
set the allowInterrupts to false ... task you don't want interrupted ... set the allowInterrupts to true
虽然此属性为false,但Ctrl-Period无效.
| 归档时间: |
|
| 查看次数: |
106 次 |
| 最近记录: |