Keep TAB for focus in output-pane
Hi, In an output-pane, if I assign (:key :press) to the input-model, the TAB key can no longer be used for changing focus in the interface. Sometimes, this is just what you want, a possibility to capture the TAB key and do whatever you want. But sometimes, it would be nice to keep its default effect of giving focus to the next element. Of course, I could implement a handler for the TAB key, and set focus myself using (capi:set-pane-focus). But as far as I can tell, there is no way of getting the next element in the focus chain using the CAPI (correct me if I’m wrong!), so I would have to hard-code a reference to the next element, which is not very nice. Is there no better way?! A more general solution (take it as a feature request for future versions of LispWorks!) would be the possibility to choose if a keyboard event should be further processed or not, preferably using the return value for the key handler. That is the way it works in e.g. javascript. Regards Erik _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html