Home All Groups Group Topic Archive Search About

Is a method/property Me.IsLoading available? (WinForms)

Author
13 Apr 2006 5:06 PM
dgk
I want to use certain events but only when the form is finished with
the Load event. Obviously I can set a boolean flag but I was looking
around for anything in Me that might do the same thing but I don't see
it. Did I miss it?

Author
13 Apr 2006 5:41 PM
zacks
I don't see one in the help text, but it would be a simple process to
create one for a form. Each form is implemented as a class so just
create a new IsLoading boolean parameter in the form's class, be sure
to either make a constructor to initialize the boolean to false or set
it to flase first thing in the Load event code, and then at the end of
your Load event code, set the property to true, and you can then
reference the Me.IsLoading property.
Author
14 Apr 2006 2:09 PM
dgk
On 13 Apr 2006 10:41:29 -0700, za***@construction-imaging.com wrote:

>I don't see one in the help text, but it would be a simple process to
>create one for a form. Each form is implemented as a class so just
>create a new IsLoading boolean parameter in the form's class, be sure
>to either make a constructor to initialize the boolean to false or set
>it to flase first thing in the Load event code, and then at the end of
>your Load event code, set the property to true, and you can then
>reference the Me.IsLoading property.

That's what I do, but I figured maybe there was something intrinsic.
No biggie.