Re: Check if a form is loaded

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If it's only one form that needs this, you could also define a public
variable in that form module like Public m_bIsLoaded As Boolean.

Set this variable to True from the Load event and set it to False from the
Unload event. Other modules can query this variable without causing the form
to load.

--
Jonathan Wood
SoftCircuits
http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm

"Bent Lund" <bstlu@xxxxxxxxx> wrote in message
news:%23IKVhaHuFHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> yes but is there a Forms collection in VB6?
>
> Do I need to add a library of some sort?
>
> Bent
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


.