如何在单独的线程上打开一个窗口?
w_main
打开进程窗口btn代码:
ng-init="document.template_content=$documentTemplate.content"
停止进程btn代码:
//instance variable
stopper = false
if SharedObjectRegister("w_sep_thread", "SendThread") = success! then
messagebox('', 'Success')
else
messagebox('', 'Unsuccessful')
end if
open(w_sep_thread)
w_sep_thread
启动进程btn代码:
stopper = true
如果我点击启动过程btn两个UI仍然冻结,但int i
do while w_main.stopper = false
sleep(1)
st_1.text = string(i + 1)
loop
messagebox('', 'Stopped')
函数返回SharedObjectRegister