Re: Check if a form is loaded
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Tue, 13 Sep 2005 19:11:16 -0600
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 ***
.
- References:
- Re: Check if a form is loaded
- From: Bob Butler
- Re: Check if a form is loaded
- From: Bent Lund
- Re: Check if a form is loaded
- Prev by Date: Re: Strange problem when using a class module in VBScript
- Next by Date: Re: run-time error 5
- Previous by thread: Re: Check if a form is loaded
- Next by thread: Re: Check if a form is loaded
- Index(es):