text-input-choice: text vs selected-item
Hi, I wonder how text-input-choice is supposed to be used wrt reading the ”value”. Looking at the example at (example-edit-file "capi/elements/text-input-choice.lisp") - If I type in ”Item 1”, the selected-item slot is not updated, only the text-input-pane-text slot - If I choose ”Item 1” in the drowdown list using the mouse, selected-item and text-input-pane-text is updated - However if I press the down key and navigate to an item using the keyboard, selected-item is updated but NOT text-input-pane-text! - Pressing Return/Enter or leaving the control with Tab still does not update text-input-pane-text - Giving back the focus to the text-input-choice updates text-input-pane-text This was observed on Cocoa, I haven’t tested it on other platforms yet But AFAICT, there is no reliable way to get the value that is actually displayed on screen – is this a bug, or am I missing something? (A possible workaround could be to use :callback and :change-callback to update a variable and later read that variable, but I haven’t tested that yet) Erik _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html