Hamburger - Nested Menus

Features wanted...
Post Reply
VeeGee

Hamburger - Nested Menus

Post by VeeGee »

Good afternoon,
Would it be possible to look into the option of adding one-level nested menu for the Hamburger ? In this example, the Move and Copy Options text would be at the "root" of the menu and the entries with a > prefix would be nested. The nesting would stop when it encounters a line w/o the > prefix.

Code: Select all

-
::Move and Copy Options; (at the root)
>::Move to Parent;moveto "..\", ":list"; (nested)
>::Copy to Parent;copyto "..\", ":list";(nested)
>::Move to Updates;moveto "X:\Updates\", ":list";(nested)
- (back to the root)
#1401;
::Move File to Folder;load "MoveFileToFolder.xys";
#1403;
-
I know you mentioned that this option may not get too fancy; however, it is such a fantastic addition to XY I wanted to at least put in a request.

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

+1 ;-)
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Hamburger - Nested Menus

Post by admin »

I'll think about it...

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

Since it's a proven fact that great minds think alike, it is only the paranoid part of me that wants to state that this user often longed for submenus on custom toolbar buttons :whistle:
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Hamburger - Nested Menus

Post by admin »

Next beta you just do something like this:

Code: Select all

Move and Copy Options
  ::Move to Parent;moveto "..\", ":list"
  ::Copy to Parent;copyto "..\", ":list"
  ::Move to Updates;moveto "X:\Updates\", ":list"
-
::Move File to Folder;load "MoveFileToFolder.xys";

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

Yeah! :appl:
______________________________________________
Happy user ;-)

VeeGee

Re: Hamburger - Nested Menus

Post by VeeGee »

Thank you so much ! This is going to be great. The hamburger menu is my go-to for nearly everything I do in XY.

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

> The hamburger menu is my go-to for nearly everything I do in XY.

Thanks for the inspiration! It definitely has the potential to grow now ;-)
______________________________________________
Happy user ;-)

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

@Don: I'd like to use a external icon for a menu - is that possible?

Tried: "Repos;;:%iconlib%\git.ico" - but I did not do anything...(pasting this into address bar navigates to the file, so it exists).
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Hamburger - Nested Menus

Post by admin »

MBaas wrote: 07 Jun 2019 12:05 @Don: I'd like to use a external icon for a menu - is that possible?

Tried: "Repos;;:%iconlib%\git.ico" - but I did not do anything...(pasting this into address bar navigates to the file, so it exists).
Try it without the colon (this is only for toolbar buttons): Repos;;%iconlib%\git.ico

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

Aaah - thanks! :tup:
______________________________________________
Happy user ;-)

MBaas
Posts: 577
Joined: 15 Feb 2016 21:08

Re: Hamburger - Nested Menus

Post by MBaas »

Can the "Customize Menu"-Item also be launched using a #nr? Is there any way I could find that nr? (And to extend that q: how could I find the # of any menu-item? Or the names of internal icons?)
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Hamburger - Nested Menus

Post by admin »

1. No.

2. Command #-IDs: Help | List All Commands...

3. Button keys: Hold CTRL while clicking Tools | Customize Toolbar...

Post Reply