>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