Re: Q: wxEuphoria - key event
- Posted by Jerry Story <jstory at ocii.com> Jul 07, 2006
- 616 views
> Jerry Story wrote:
procedure closeHtml(atom this, atom event_type, atom id, atom event) show_window(winHtml1,0) show_window(winHtml2,0) end procedure set_event_handler({winHtml1,btnHtml}, get_id(btnHtml), wxEVT_COMMAND_BUTTON_CLICKED, routine_id("closeHtml")) -- This works. set_event_handler({frameWin,winHtml2}, get_id(winHtml2), wxEVT_CHAR, routine_id("closeHtml")) -- This does not work.
> If wxEVT_CHAR doesn't work, try wxEVT_KEY_DOWN. It might also work with > wxEVT_CHAR, but with id = -1. -1 means that it won't filter the event > based on the id of the originating control. > > Matt Lewis Still doesn't work.