A suggestion...

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

A suggestion...

Post by Ruth »

I really don't know much about code so don't know if this is even feasible..well without excess time to create it, and maybe I'm the only one that sees a use for this, but...
Right now if you set submenu offsets it goes for all submenus, it would be nice to be able to set different offsets so you can apply the offsets to various menus as you want them to come up.

Ruth
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

That can in fact be done. Version 3 does support this functionality.

Each menu is declared like so...

Code: Select all

addmenu(menu=["home",
,,150,1,,XP,0,,effect,,0,0,,,,,,,,"margin=2;",
This means that this menu will display right below its parent. If you were to change it to say

Code: Select all

addmenu(menu=["home",
90,95,150,1,,XP,0,,effect,,0,0,,,,,,,,"margin=2;",
that would make the menu show up 90px from the top of the window and 95 pixels from the left side of the window, regardless of where the parent is. You can then take that a step farther and do:

Code: Select all

addmenu(menu=["home",
"offset=30","offset=20",150,1,,XP,0,,effect,,0,0,,,,,,,,"margin=2;",
Which will make the menu appear 30 lower and 20 pixels to the right of where it would have rendered if you had left them blank...so basically its an offset of (30,20) from where the parent menu is located. And you can do this for each menu individually, so you can have menus popping up anywhere you damn well please... :D . Best of luck!
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Wow, thanks sooooo much :) Gosh, maybe I can artistically design a pattern to go with my borders. j/k But, thanks it is so easy once you know how.
:D
Ruth
Post Reply