Discussion Locked

How to list MDI menu's form names?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
There are a few pull down menus in this MDI form. is there anyway tt i can get the list of form names inside the pull down menu at run time?

3 replies

by r. a. caluste

if you are trying to get the names of the menus at runtime, here is the code:

for each cntrl in Formname.Controls
if typename(cntrl) = "Menu" then
debug.print cntrl.name
end if
next

This discussion is closed to new replies.