Enumerating forms in an application

  • Thread starter Thread starter Rene
  • Start date Start date
R

Rene

I would like to know if there is a way for cycling through all the forms
that are open in my application.

In VB I would do something like this if I wanted to get the name of all the
open forms:

Dim frm As Form

For Each frm In Forms
MsgBox (frm.Name)
Next

Thank you.
 

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