some menuItems not showing - solved

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Christo777
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 13
Joined: Thu Nov 16, 2006 4:34 am

some menuItems not showing - solved

Post by Christo777 » Thu Jun 28, 2012 5:55 pm

Hello,

1. My menus are a group of pulldown buttons in a separate substack. They all show and behave correctly except that the last two menuItems of one of my menus don't show at all. I put "Display 8 items" in the inspector. I tried different values with no success. When I clic on it in it's own stack, the menu shows all it's items. Have an idea ? (It is the first menu, not the last)

(menu Fichier)
Nouvelle feuille
Ouvrir...
-
Enregistrer
Enregistrer sous...
-
Mise en page
Imprimer

2. How do i change the order of my menus (not the items) ?

tx
Last edited by Christo777 on Fri Jun 29, 2012 2:13 am, edited 1 time in total.

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: some menuItems not showing

Post by Klaus » Thu Jun 28, 2012 6:55 pm

Hi Christo777,

are you on a Mac? In that case the OS will take care of your menu! :D

The last item in the "File" menu should be "Quit" and will be moved to the "Application" menu.
The last menuitem of menu "Help" should be "About" will also be moved to the "Application" menu.

Add two lines at the end:
(menu Fichier)
Nouvelle feuille
Ouvrir...
-
Enregistrer
Enregistrer sous...
-
Mise en page
Imprimer
-
Quitter


This should fix it for this menu.


Best

Klaus

Christo777
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 13
Joined: Thu Nov 16, 2006 4:34 am

Re: some menuItems not showing

Post by Christo777 » Thu Jun 28, 2012 8:23 pm

Good ! My File menu works with the two more lines !

I found that the last item of last menu is always the About.., even if this menu is not Help.
At one stage, my last menu was Fonts and the last font name appeared in the application menu, at the place of a About.. item.

I still try to reorder my menus. How can I change their order in the group ? I'll try with ungroup, followed by cut an paste...

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: some menuItems not showing

Post by Klaus » Thu Jun 28, 2012 8:40 pm

Hi Christo777,

just add:
-
About

to your last menu and that should do the trick.

The Apple HIG (Human Interface Guidelines) recommend that all Mac menus should have these menus!
That's what this is happening on OS X!

You need to change the layer of the menu buttons in the group:
1, lowest layer in group. File
2. Edit
3. XXX
4. YYYY
...
X (last), highest layer in group: Help

Select the group and select "Edit Group" in menu "Object"
Reorder your buttons and select "Stop Editing Grou" in menu "Object"


Best

Klaus

Post Reply