Can an application see how many forms are open

  • Thread starter Thread starter Just Me
  • Start date Start date
J

Just Me

Is there some way I can check to see how many forms an application has open?

I found MdiChildren.Length but need to know the total number of forms and
some are not all MDI children.


Thanks
 
Just Me said:
Is there some way I can check to see how many forms an application has
open?

No. You'll have to maintain a counter yourself.
 
Not hard, I just hate to have a bunch of code if the system already supplies
a property.
Thanks
 
If a form creates another form
gCalculatorForm = New CalculatorForm

does it own it?

I'm wondering about OwnedForms.Length


Not hard, I just hate to have a bunch of code if the system already
supplies a property.
Thanks
 
never mind - I found the doc

Just Me said:
If a form creates another form
gCalculatorForm = New CalculatorForm

does it own it?

I'm wondering about OwnedForms.Length
 

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