As I move my Clipper submenuing (cascading) menus in to a more "Windows" style, I'm confused on the direction to take.
Currently in Clipper I have a main menu function() of 2 selections that selects a sub menu function() of 3 selections, that further selects a sub sub menu function() of 4 selections and so on.
I gather this is the "old" way of doing it, but it seems that using menu, menuitem will only allow 1 level down.
Or, is this cascading menu supposed to be accomplished thru some MDI child setup.
I do not find anything in \samples folder that goes down more than one level, although the FiveDbu.prg example has a recent files option that touches on it.
How is accomplished in FW?
Bruce
sub menus
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: sub menus
Bruce
I prefer Buttonbars or Toolbars with a combination of MDI menus .. have a look at these samples
Buttonbars:
Test2007.prg
Customer.prg
Toolbars:
Toolbar1.prg
Toolbar2.prg
Rick Lipkin
I prefer Buttonbars or Toolbars with a combination of MDI menus .. have a look at these samples
Buttonbars:
Test2007.prg
Customer.prg
Toolbars:
Toolbar1.prg
Toolbar2.prg
Rick Lipkin
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: sub menus
Bruce,
You can use as many submenus as needed:
You can use as many submenus as needed:
Code: Select all
MENU oMenu
MENUITEM "Files"
MENU
MENUITEM "Another"
MENU
MENUITEM "And more"
ENDMENU
ENDMENU
ENDMENU
Re: sub menus
Antonio,
I will check my arrangement of the menuitem layout for errors, now confirming it is possible.
Rick,
Appreciate your suggestions and direction to some relative examples.
There sure are some slick solutions available.
Its all new.
Bruce
I will check my arrangement of the menuitem layout for errors, now confirming it is possible.
Rick,
Appreciate your suggestions and direction to some relative examples.
There sure are some slick solutions available.
Its all new.
Bruce
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: sub menus
Bruce,
Cascading menus are tedious to use. You may note that most windows apps limit pull-down menus to two levels deep. Any more can get difficult to handle with a mouse.
You can consider an interface redesign possibly putting the third level in a combo box on a dialog that is called from the second level menu.
I recommend this book for learning about interface design: About Face 2.0, The Essentials of Interaction Design by Alan Cooper. There is a version 3 also but I prefer 2.0. You can get this on Amazon.
Regards,
James
Cascading menus are tedious to use. You may note that most windows apps limit pull-down menus to two levels deep. Any more can get difficult to handle with a mouse.
You can consider an interface redesign possibly putting the third level in a combo box on a dialog that is called from the second level menu.
I recommend this book for learning about interface design: About Face 2.0, The Essentials of Interaction Design by Alan Cooper. There is a version 3 also but I prefer 2.0. You can get this on Amazon.
Regards,
James