I have a modal dialog which has the web browser control in it. The first
time it comes up fine. If I hide and then reshow, the form comes up, but
the Web Browser is locked.

Kent

Re: Web Browser locks after SHowModal by hirf-spam-me-here

hirf-spam-me-here
Wed Feb 11 06:39:51 CST 2004

* "NesClip" <kent.brown@immedient.com> scripsit:
> I have a modal dialog which has the web browser control in it. The first
> time it comes up fine. If I hide and then reshow, the form comes up, but
> the Web Browser is locked.

How do you hide and reshow the form?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Re: Web Browser locks after SHowModal by Kent

Kent
Wed Feb 11 09:17:41 CST 2004

The form is loaded by outside code calling a public method on the form, lets
say frm.BeginAction(). Inside that method the form calls Me.ShowDialog.

Then on the OK Button click event in the form an event is raised that is
handled by the calling code outside the form. The handler for this event
calls frm.Hide.

Kent

> How do you hide and reshow the form?
>



Re: Web Browser locks after SHowModal by Kent

Kent
Wed Feb 11 09:25:56 CST 2004

Actually, the hiding works just like the showdialog - a call is made to a
public method, which in turn calls Me.Hide.


> Then on the OK Button click event in the form an event is raised that is
> handled by the calling code outside the form. The handler for this event
> calls frm.Hide.