wx.html.htmlhelp doesn't work

good afternoon

wx.html.Htmlhelp control problem: I want to show support of an application using wx.html.Htmlhelp control, a process that is smooth, but does not display a window containing the html, this problem disappears when using debug and make a checkpoint at the site is added to the sizer control and resumed the software;

attached pictures of my problem, thanking someone could help me.

resulting frame

Expected frame

···


Sebastián López

Sorry, I don't fully understand what you are trying to say about using debug and a checkpoint. Please make a runnable, small as possible, sample application that demonstrates the problem, and let us know the platform and wx version. MakingSampleApps - wxPyWiki

···

On 6/25/12 11:55 AM, sebasti�n wrote:

good afternoon

wx.html.Htmlhelp control problem: I want to show support of an
application using wx.html.Htmlhelp control, a process that is smooth,
but does not display a window containing the html, this problem
disappears when using debug and make a checkpoint at the site is added
to the sizer control and resumed the software;

--
Robin Dunn
Software Craftsman

Sorry my poor english,

I try to give a better description of my trouble:
If I run the software and then try to see the help window it appears blank, but when I run the program through a debuguer and if I stop the ejecution at a point before the help panel display and then I continued the software with its normal execution then the problem disappears.

I add a sample code

Thanks

helpSystem.zip (11.5 KB)

···

2012/6/25 Robin Dunn robin@alldunn.com

On 6/25/12 11:55 AM, sebastián wrote:

good afternoon

wx.html.Htmlhelp control problem: I want to show support of an

application using wx.html.Htmlhelp control, a process that is smooth,

but does not display a window containing the html, this problem

disappears when using debug and make a checkpoint at the site is added

to the sizer control and resumed the software;

Sorry, I don’t fully understand what you are trying to say about using debug and a checkpoint. Please make a runnable, small as possible, sample application that demonstrates the problem, and let us know the platform and wx version. http://wiki.wxpython.org/MakingSampleApps

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en


Sebastián López

Ingeniero Químico

My os system is windows 7,
Python 2.7.2, wx 2.9.3.1

···

2012/6/26 sebastián selobu@gmail.com

Sorry my poor english,

I try to give a better description of my trouble:
If I run the software and then try to see the help window it appears blank, but when I run the program through a debuguer and if I stop the ejecution at a point before the help panel display and then I continued the software with its normal execution then the problem disappears.

I add a sample code

Thanks

2012/6/25 Robin Dunn robin@alldunn.com

On 6/25/12 11:55 AM, sebastián wrote:

good afternoon

wx.html.Htmlhelp control problem: I want to show support of an

application using wx.html.Htmlhelp control, a process that is smooth,

but does not display a window containing the html, this problem

disappears when using debug and make a checkpoint at the site is added

to the sizer control and resumed the software;

Sorry, I don’t fully understand what you are trying to say about using debug and a checkpoint. Please make a runnable, small as possible, sample application that demonstrates the problem, and let us know the platform and wx version. http://wiki.wxpython.org/MakingSampleApps

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Sebastián López

Ingeniero Químico


Sebastián López
Ingeniero Químico

Try saving a reference to the HelpData object instead of using a local variable for it. In other words, use self.helpData instead of just helpData.

Is there any particular reason you are creating your own window for this instead of just using the HtmlHelpController?

···

On 6/26/12 10:54 AM, sebasti�n wrote:

Sorry my poor english,

I try to give a better description of my trouble:
If I run the software and then try to see the help window it appears
blank, but when I run the program through a debuguer and if I stop the
ejecution at a point before the help panel display and then I continued
the software with its normal execution then the problem disappears.

I add a sample code

--
Robin Dunn
Software Craftsman

thank you so much

I did the change as you say and now it works, but still i don’t understand why??

In the other hand i saw the HtmlHelpController as a control then i tried to embed the HtmlHelpController into a frame.

···

2012/6/27 Robin Dunn robin@alldunn.com

On 6/26/12 10:54 AM, sebastián wrote:

Sorry my poor english,

I try to give a better description of my trouble:

If I run the software and then try to see the help window it appears

blank, but when I run the program through a debuguer and if I stop the

ejecution at a point before the help panel display and then I continued

the software with its normal execution then the problem disappears.

I add a sample code

Try saving a reference to the HelpData object instead of using a local variable for it. In other words, use self.helpData instead of just helpData.

Is there any particular reason you are creating your own window for this instead of just using the HtmlHelpController?

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en


Sebastián López

Ingeniero Químico

You can use the HtmlHelpController to manage all of it for you. If a help frame or help window has not bet been associated with the controller then it will create them itself when it needs to display a help topic, or you can have it display the contents page, etc. It will manage the frame it creates for you.

···

On 6/27/12 10:40 AM, sebasti�n wrote:

thank you so much

I did the change as you say and now it works, but still i don't
understand why??

In the other hand i saw the HtmlHelpController as a control then i tried
to embed the HtmlHelpController into a frame.

--
Robin Dunn
Software Craftsman