Thanks for the help. That's just what i was looking for. One more thing if I may, Once i initial the command to pull up the dialog box, I have 1 radio button set to "is_enabled" and in the "selection" pop_list where the sizes show up, it shows the 1st size in the list. I want the routine to automatically use those values as a default if the user does not select anything. How do I do this? Anyone..
I have been trying various "IF" statements with no luck. See below.
(action_tile "rb1" "(setq DoorType \"LH\")(drsizes)")
(action_tile "selections" "(setq Doorsize (nth (atoi $value) sizes))")
(setq Selv (atoi (get_tile "rb1")));get radio button value
(setq Selv (rtos Selv 2 0))
(if(= "0" (get_tile "rb1"))
(progn
(setq DoorType "LH")
)
(defun drsizes ()
(setq sizes '("1-6" "2-0" "2-2" "2-4" "2-6" "2-8" "2-10" "3-0" "3-2" "3-4" "3-6" "3-8" "3-10" "4-0")
dcl:option "1")
(start_list "selections")
(mapcar 'add_list sizes)
(end_list)
)