先设置编辑框的值 然后再获取该值 但是失败 请教
(SET_TILE "xshwsh" "3")(SET_TILE "kzdj" "0.25" )
(SET_TILE "gchzhjgsh" "1" )
(setq xshwsh (GET_TILE "XSHWSH"))
(setq KZDJ (GET_TILE "kzdj"))
(setq GCHZHJGSH (GET_TILE "gchzhjgsh"))
各位大师 我用上面代码设置编辑框的值 ,然后在获取该值。。。但总是 nil这个 问题再哪里啊?
只能在action_tile里获取你需要控件的值 ;;主控程序
(new_dialog ......)
(SET_TILE "xshwsh" "3")
(action_tile "应用" "(getdclv)(setdclv)")
(action_tile "accept" "(done_dialog 1)")
(setq oke (start_dialog))
;;调用函数
(defun getdclv()
(setq xshwsh (GET_TILE "XSHWSH"))
)
(defun putdclv()
(SET_TILE "kzdj"(strcat (get_tile "kzdj") "--" xshwsh))
)
差不多就是这样吧
多谢大师指导我试下
页:
[1]