View Full Version : is it possible to have a submenu of a submenu ?
qwerty
10-19-2007, 09:04 AM
for example like this ...
tblMenu[8].SubMenu[4].SubMenu[1] = {};
i get an error when trying this, basically i have a submenu item, that under certain situations, i'd like it to open a second sub menu.
just wondering if it's possible or if it's limited to one submenu, before i go bashing my head against a wall so to speak !
Desolator
10-19-2007, 04:56 PM
Over here it looks like it's limited to only level 1 submenus. We should definetly have more levels for submenus in AMS 7 :yes
qwerty
10-19-2007, 05:10 PM
ok thanks, i had a feeling that was the case, so i found a work around for it, i added an extra separator for each extra item i might want in the sub menu, and then flip that into an option when required :) so for now i'm sorted, but yes, i'd agree more sub menus would be a good upgrade
I think you can use more that one sublevels in 6.
I'm sure i did it once.
qwerty
10-20-2007, 09:15 AM
:wow ..... well dont keep us in suspense ! :p:lol
goukilord10
11-08-2007, 07:47 AM
im also interted in this but i cant figure it either...
Sergio_S
11-08-2007, 08:24 AM
:yes
You can have several submenu levels in AMS6.
I have just finished a project with 4 submenu levels. I will prepare an example and post here in few minutes.
TJ_Tigger
11-08-2007, 08:26 AM
You can have multiple submenus. I don't know how many, just make sure that you define the submenu as a table before defining the entries in the menu. In the Menu Maker I was able to easily define 10 levels deep using submenus.
Sergio_S
11-08-2007, 09:29 AM
Here it is.
As you can see at Page1/Properties/OnPreload event, you can go ahead with any menu levels you want.
Only you need to take care to not duplicate ID's.
------------------------------
goukilord10
11-08-2007, 12:31 PM
Here it is.
As you can see at Page1/Properties/OnPreload event, you can go ahead with any menu levels you want.
Only you need to take care to not duplicate ID's.
thanks Sergio_S but i was asking about the right click popup menu not the MenuBar.
You can have multiple submenus. I don't know how many, just make sure that you define the submenu as a table before defining the entries in the menu. In the Menu Maker I was able to easily define 10 levels deep using submenus.
yes i did that but still nothing. can you put a exemple of more than one submenu ?
goukilord10
11-08-2007, 12:41 PM
Sergio_S used changed your exemple to use the popup menu and it work great thanks a lot :)
Sergio_S
11-08-2007, 02:02 PM
:yes
Great to know I could help.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.