kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

crash " Control '' has no parent window " #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. open joined project
2. change the constant cACWinWordxx at line 89 to your version of MS Word
3. build and launch the projet
4. click on the link "show toto.docx"

What is the expected output? 
Word document is open and the new html page is loaded
What do you see instead?
crash " Control '' has no parent window "
if we disable the set of HistoryMaxCount in the constructor there no exception.

Which version of the product are you using? 
THMLVIEWER last revision 500
Which compiler version are you using? 
Delphi XE
On which operating system?
Windows 7

Original issue reported on code.google.com by bruno.pe...@gmail.com on 27 Feb 2015 at 4:38

Attachments:

GoogleCodeExporter commented 9 years ago
Workaround: calling explicitly Clear before the LoadFromString calls avoids the 
issue (Clear sets the HTMLTimer to disabled)

Original comment by zar...@gmail.com on 3 Mar 2015 at 10:45

GoogleCodeExporter commented 9 years ago
Thanks for spotting and investigating this issue.

revision 503 fixes it.

Original comment by OrphanCat on 5 Mar 2015 at 10:01