检测DCL对话框是按CANCEL退出的方法
Detecting if cancel was pressed in DCL dialog boxesQuestion
I'm using command reactors to detect when certain commands are cancelled, yet
when the command has a dialog box, there is no difference if a user presses
Cancel or OK (only the Editor reactor commndEnded() is called). How can I build
a routine that detects the difference between OK and Cancel when selected from
a dialog box?
Answer
**** Hidden Message *****
先学lisp,后学DCL,最大的困惑是(action_tile "cancel" "(done_dialog 0)")中这个0传递到了什么地方去了。 看了涨"姿势"了{:soso_e113:} /db_自贡黄明儒_ 发表于 2014-12-19 15:35
先学lisp,后学DCL,最大的困惑是(action_tile "cancel" "(done_dialog 0)")中这个0传递到了什么地方去了。
(setq ecode (start_dialog))
(done_dialog 0)中的0就赋给了ecode!
本帖最后由 819534890 于 2014-12-19 16:05 编辑
不错,最近很多知识学习
不知能否消化啊
看看是啥方法 回复,看贴,谢谢 学习................. DCL函数。 学习学习学习
dear sir,
nice code dear sir,
nice code 来学习一下 涨知识{:1_1:}
页:
[1]
2