Modal forms and Menus

  • Thread starter Thread starter Simon Webb
  • Start date Start date
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
 
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...
 
Back
Top