Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable sysgen menus
Message
 
 
To
25/05/2004 09:28:10
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00906882
Message ID:
00906889
Views:
16
Hi Beth,

After launching menu you can remove Window pad if it's runtime.
DO mymenu.mpr
IF (_VFP.StartMode > 0)    && Runtime.
   RELEASE BAR _msm_windo OF _msysmenu
ENDIF
If you're using GenMenuX you can get the same result by putting
*:IF _VFP.StartMode = 0
into Window pad comment field.


>I am working in VFP6SP5 on an NT4 machine.
>
> I have a program that uses some of the system menus, such as the Window menu. This menu builds bars on the fly in the application. I know this because if you look at the code in the project manager, there are only two bars under the menu - Command Window and Data Window. These bars are also grayed out when the program runs (not through VFP).
> But once you start opening forms in the program, more bars appear under the window menu, with the name of each form open.
> I need this disabled, because the forms in this program are all modal. If the user wants to look at a form before the last one brought up, he needs to exit that form. If the user moved to another form by way of the menu option, there is no way for the user to get back to the correct form without exiting the program and coming back in.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform