Help - HtmlWindow & wxp tags

Hi all,

Advice, anyone? This should be a quick fix for anyone that has used
wx.html.HtmlWindow & wxpTag...

I am opening a html file using myhtmlwin = wx.html.HtmlWindow(...)

The html file (call it test.htm) contains blocks of code like the
following:

<wxp module="wx" class="CheckBox">
    <param name="label" value=I>
    <param name="id" value=5100>
</wxp>

The html displays fine, the wxp tags are all parsed and displayed
correctly.

My question is, once the file has been loaded [ using
myhtmlwin.LoadPage(test.htm) ], how can I interact with that checkbox
(i.e. from within my python script, have it automatically check the
checkbox with id 5100, created from the test.htm file)?

-- Vince

checkbox=myhtmlwin.FindWindowById(5100)

Gre7g

···

--- Vincent Cano <VCANO@midwestiso.org> wrote:

My question is, once the file has been loaded [
using
myhtmlwin.LoadPage(test.htm) ], how can I interact
with that checkbox
(i.e. from within my python script, have it
automatically check the
checkbox with id 5100, created from the test.htm
file)?

____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

You're the man

Thanks again Gre7g

-- Vince

···

-----Original Message-----
From: Gre7g Luterman [mailto:hafeliel@yahoo.com]
Sent: Friday, June 22, 2007 4:04 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Help - HtmlWindow & wxp tags

--- Vincent Cano <VCANO@midwestiso.org> wrote:

My question is, once the file has been loaded [
using
myhtmlwin.LoadPage(test.htm) ], how can I interact
with that checkbox
(i.e. from within my python script, have it
automatically check the
checkbox with id 5100, created from the test.htm
file)?

checkbox=myhtmlwin.FindWindowById(5100)

Gre7g

________________________________________________________________________
____________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org