主题:  按ESC退出

飘雪无痕

职务:普通成员
等级:2
金币:1.0
发贴:514
注册:2000/11/8 14:55:33
#12002/6/3 20:07:43
我是一个DR新手,请问如何在程序运行过程中,按ESC键就退出程序?谢谢。



D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
#22002/6/3 22:13:20
缺省就是这样的
也可以set the exitlock to false



TOMBABY

职务:普通成员
等级:1
金币:0.0
发贴:39
注册:2002/5/31 21:36:20
#32002/6/8 21:03:14
请问set the exitlock to false这条语句是什么意思



nnlyx

职务:普通成员
等级:1
金币:0.0
发贴:47
注册:2000/12/6 22:10:07
#42002/6/9 8:42:12
我个人认为用set the exitlock to false并不是最好的方法,让它返回到调用的电影比较好,是这样的
on keydown
if the keycode = 53 then
play done
end if
end



TOMBABY

职务:普通成员
等级:1
金币:0.0
发贴:39
注册:2002/5/31 21:36:20
#52002/6/12 11:22:02
nnlyx在上个帖子中说
引用:
我个人认为用set the exitlock to false并不是最好的方法,让它返回到调用的电影比较好,是这样的
on keydown
if the keycode = 53 then
play done
end if
end





我看过帮助,PLAY DONE语句好像是和PLAY语句配合的,那是不是说如果不是用PLAY调用的窗口,你的方法就不行呀