Rank: Newbie Groups: Member
Joined: 1/3/2014 Posts: 4
|
I've noticed some odd behavior when setting a form with the web control as the MDIchild to another form. The webBrowser seems to lose its content and refresh the page. This differs from the default webbrowser control which retains everything.
In my test, I loaded a webpage that had an input area. I typed some text in the input area of the webpage and then hit the button to set the mdi parent of the form. The default webBrowser retained the page and the text inside the input area. The EO WebBrowser, when set as MdiChild, has an empty webbrowser control, after a few seconds, the webpage is refreshed, but the text inside the input area is missing.
Is there any way to have the EO webbrowser control to retain the information like the default control does?
Here is a test project that can be set up to see what I am referring to.
Create a new Project with 3 Forms, frmParent, frmEOWeb, frmIEWeb.
frmParent: -Set the isMdiContainer = true -Add two buttons -on button1.click code frmEOweb.MdiParent = frmParent frmIEweb.MdiParent = frmParent
-on button2.click code frmEOweb.MdiParent = nothing frmIEweb.MdiParent = nothing
frmEOWEB: -Add the EO webbrowser to the form -Add code to load to any test webpage frmIEWeb: -Add the default VS web browser control -Add code to load any test webpage
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Thanks for the information. We will look into this and see what we can find. It's probably due to some window management (parent window change, recreating window handle, etc). I think it would definitely make sense to retain the contents in your scenario.
|
Rank: Newbie Groups: Member
Joined: 1/3/2014 Posts: 4
|
Alright, Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have posted a new build that should resolve this issue. You can download the new build from our download page.
Thanks!
|