Re: Creating a new selection box.
- Posted by Vinoba Jun 07, 2011
- 1567 views
euphoric said...
Try this: create all the listboxes you are expecting you might need and make them invisible. Then, when the user clicks on a listbox, make the hidden listbox visible. Then you can hide it again when it's not needed.
Also, Button2 in your example is never declared.
-- The problem might be a lot simpler - my understanding of set_event_handler(FurboxF1, get_id(FurboxF1), wxEVT_COMMAND_BUTTON_CLICKED, routine_id( "FurboxSelect" )) -- and the subsequent control given to procedure FurboxSelect (atom this, atom event_type, atom id, atom event) -- Surely it is somewhere in there, that I am not able to trap the Item clicked. -- Either wxEuphoria is not doing it or I do not know how to create another -- Window or Box after the click. Or perhaps, I am using the wrong control.