From: Steve K. <ha...@ya...> - 2006-05-29 10:31:26
|
Hi everyone, I am playing with the sample htmlwin.wx.lua. What I want is to catch the event frm the object embeded in the html window. So far, failled :-) What I did is replace the text box widgets with a button, with an ID and then use ConnectEvent as normal frame:ConnectEvent(button_ID, wx.wxEVT_BUTTON_CLICKED, OnCLickFunc) (Still use version 2.6.2.0 so ConnectEvent is right ) it seems the event is not fired, or not traverse upward to the frame. Even I use html:ConnectEvent; not work as well. How can I make it work or is it impossible? Note: The similar work in c++ though Thanks in advance Cheers, S.KIEU --------------------------------- On Yahoo!7 Socceroos Central: Latest news, schedule, blogs and videos. |