MDI Child form collection

  • Thread starter Thread starter VJ
  • Start date Start date
V

VJ

How do I unquiely identify a form in a collection of MDI Child forms.. The
form can have same name, and Title.. I am not sure if I want to use the
Tag..., I just want to do the way Window menu of the MDI window doing it ...

Thanks
VJ
 
* "VJ said:
How do I unquiely identify a form in a collection of MDI Child forms.. The
form can have same name, and Title.. I am not sure if I want to use the
Tag..., I just want to do the way Window menu of the MDI window doing it ...

Maybe it's better to store references to the MDI children directly than
going over the 'MdiChildren' collection.
 
Thanks HKW... I was just typing the response and going to say I did that to
resolve the problem..
Just store the OBJ reference in a collection and access it when you need. It
works really well...

Also just curious.. any performance issue when storing the reference???

VJ
 
* "VJ said:
Thanks HKW... I was just typing the response and going to say I did that to
resolve the problem..
Just store the OBJ reference in a collection and access it when you need. It
works really well...

Also just curious.. any performance issue when storing the reference???

Better performance than going over the 'MdiChildren' property when
implemented the right way...
 

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