kooloveme / thtmlviewer

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

crash on <select> #342

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. load html page with tag <select>
2. click on <select>
3. change html (like script)
3. load/reload page

What is the expected output? 
new/updated page

What do you see instead?
access violation

Which version of the product are you using? Which compiler version are you
using? On which operating system?
htmlviewer 457
delphi xe2
windows 7 x86

Please attach test html files and screenshots, if appropriate.
Please provide any additional information:
screenshot and demo included

Any other way to do this?

Original issue reported on code.google.com by alr888...@gmail.com on 27 Mar 2014 at 11:23

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for posting this exception.

Replacing the document while the combobox control is going to drop down? 
That's like freeing a form in the dropdown event handler, which is raising 
exceptions as well.

The object click handler should send a message to your form, which will be 
processed after dropping down.

The only thing I could eventually do is to prevent the object click handler 
from removing the current document.

OrphanCat

Original comment by OrphanCat on 27 Mar 2014 at 7:03