Handling Edit Boxes
 
 
 

Actions and callbacks to handle edit boxes are similar to those for sliders. However, because characters in edit boxes are already visible, there is no need for action on interim results. Edit boxes only return a callback code when the focus to that tile is lost. The following code example checks the value but doesn't redisplay it:

(action_tile "myeditbox" "(edit_action $value $reason)")
  .
  .
  .
(defun edit_action (val why)
  (if (or (= why 2) (= why 4))
	. ; Do range checking on 
	. ; transient value here.
	. 
  )
)