sub menus

sub menus

Postby brewster » Sat Aug 11, 2012 1:04 pm

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
brewster
 
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

Re: sub menus

Postby Rick Lipkin » Sat Aug 11, 2012 1:23 pm

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: sub menus

Postby Antonio Linares » Sat Aug 11, 2012 2:04 pm

Bruce,

You can use as many submenus as needed:

Code: Select all  Expand view

   MENU oMenu
      MENUITEM "Files"
      MENU
         MENUITEM "Another"
         MENU
            MENUITEM "And more"
         ENDMENU
      ENDMENU
   ENDMENU
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: sub menus

Postby brewster » Sun Aug 12, 2012 1:48 pm

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
brewster
 
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

Re: sub menus

Postby James Bott » Sun Jan 06, 2013 1:25 am

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 1 guest