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

  • Thread starter Thread starter dgk
  • Start date Start date
D

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?
 
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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top