呵呵,六楼的没问题,我指的是在七楼复制的代码,它是一个子对话框,很不明白他直接调用(done_dialog 2)干什么??还请ZZXXQQ版主指教 (defun dlg2(/) (if (not (new_dialog "basept" id)) (exit)) (initimg "rect2" "rect2") (set_tile "x" (rtos x 2 2)) (set_tile "y" (rtos y 2 2)) (action_tile "pick" "(done_dialog 2)") (action_tile "accept" "(getdata2) (done_dialog 3)") (action_tile "cancel" "(done_dialog 4)") (setq what (start_dialog)) (if (= what 2) (done_dialog 2)) ) |