Modal forms and Menus

S

Simon Webb

My switchbourd form has a menu associated with it.

The menu is used to open forms which are modal.

Is there any way I can suppress the menu whilst these forms are open. At the
moment I can open other forms even if one is open (which is modal but not
pop - up).

Thanks in advance

- Simon
 
A

Albert D. Kallal

The easy solution here is to build a custom menu for each form. If the form
has noting special, then make a standard menu that has under "file" a close
form, and then have the standard "edit->cut/paste".

So, when each form launches, it will now show the new menu, and your main
menu will hide for you. (you don't even need code to do this).

You can grab a sample application that hides all of the ms-access interface,
and you can see how launching each form in fact has custom menu options for
that form. Grab the 3rd example here "hidden interface" example.

http://www.members.shaw.ca/AlbertKallal/msaccess/DownLoad.htm

So, just assign a standard "catch all" menu to those forms that launch, and
specify the menu bar in the "other tab". Then, when the form lanuches, your
main menu will hide for you...

Play with the above menu bars in the above sample...
 

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

Top