Page 1 of 1

Easy Way to Add Menu Items to Button Bar

Posted: 2019-07-10, 22:07 UTC
by Rob Weinstein
Hello,

I'd like an easy way to add any TC menu item to the button bar. For example, in the main menu, if I select Show -> Vertical Arrangement, I'd like to either drag it to the button bar or right-click and choose "Add to Button Bar".

I made a mock up here: https://i.imgur.com/mi1fN48.png

Thanks,

-Rob

Re: Easy Way to Add Menu Items to Button Bar

Posted: 2019-07-14, 18:12 UTC
by petermad
I dont think the menu supports right-click or dragging - or that it is feasible..

Re: Easy Way to Add Menu Items to Button Bar

Posted: 2019-07-15, 14:40 UTC
by ghisler(Author)
You can catch right clicks by subclassing the menu - I'm already doing this in the button bar when displaying a sub-bar as a menu. However, the menu disappears when I show the right click menu.