set_tile是在对话框显示之前,就是action_tile的位置,而不是退出对话框之后...
另外在退出对话框之前要保存对话框中的值,这样下次才能继续调用
(action_tile "accept" "(setq biaotilan1 (get_tile \"biaotilan\")) (done_dialog 3)")
还有,对文本框的赋值,由于你是退出对话框才使用这个值,所以不需要每次tubie都进行赋值,而只需要accept时一次保存这个值就可以了
(action_tile "accept" "(setq tubie1 (get_tile \"tubie\")) (setq biaotilan1 (get_tile \"biaotilan\")) (done_dialog 3)") |