Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Menus arround
Message
From
15/09/2000 03:54:23
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
08/09/2000 11:29:36
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00414165
Message ID:
00416770
Views:
20
>How do I move a Menu option with its own Submenu under another Menu Option.
>For example: if we have a menu with two options, one is 'Tools' and the other is 'Forms'. Under Forms I have an option called Form3 with its own submenus.
>I’ll like to move all the Form3(and submenus)under Tools.
>Is there any way to do that without moving each submenu one by one?
>Not trying to be lazy, but maybe there is a simpler way to do this.


Hi,

If you were using my menu classes, you'd just have to change the menu definition to add the Form3 objects to the Tools menu.

_SCREEN.Menu.Tools.Form3.AddObject("SaveAs", "menupad")

Then all further references are straightforward:
_SCREEN.Menu.Tools.Form3.SaveAs.Caption = "Save As"
_SCREEN.Menu.Tools.Form3.SaveAs.Enabled = .f.
_SCREEN.Menu.Tools.Form3.SaveAs.Shortcut = "CRTL+S"

See the files section or http://www.hidb.com/menulib
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform