On 5/29/06, Steve Kieu <[EMAIL PROTECTED]> 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. 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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to