From: John L. <jla...@gm...> - 2006-05-29 22:07:34
|
On 5/29/06, Steve Kieu <ha...@ya...> wrote: > 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. Eve= n 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 Can you post a little bit of code to show how it should work and what I should expect to see based on your C++ tests. I have never used the HTML widget in lua or C++. Thanks, John Labenski |