I want to create a new popup menu in my own form/panel, triggered by a button click or a right mouse-click. Is it possible ?
For example I search a simple and quick way to switch of the a panel caption, similar in the CD-Cover panel "Show Title bar".
A popup menu would reduce the need of a lot of buttons.
Creating of a new popup menu possible ?
Moderators: Gurus, Addon Administrators
-
- Posts: 57
- Joined: Fri Apr 05, 2013 4:51 am
- Contact:
Re: Creating of a new popup menu possible ?
I don't think you can have a popup menu, but you could have a "Menu" link that you click and this shows another panel with links, each one you click on would close the panel. This would look similar to a menu, if done right, but would be all left clicks. Does that make sense?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 57
- Joined: Fri Apr 05, 2013 4:51 am
- Contact:
Re: Creating of a new popup menu possible ?
Indeed this makes sense, to simulate a popup with a panel. Some difference remains resp. are coding-work to avoid it:trixmoto wrote:I don't think you can have a popup menu, but you could have a "Menu" link that you click and this shows another panel with links, each one you click on would close the panel. This would look similar to a menu, if done right, but would be all left clicks. Does that make sense?
Open the panel near the mouseclick and avoid that the panel opens out of the sceen and a panel closes not if I click out of the panel.
I will make some experiments...
Thank you for the tip.
Re: Creating of a new popup menu possible ?
Yeah, it's not something I've tried before, so I'm not sure how feasible it is to make it look good, but hopefully it's a starting point. Adding a proper context menu option to the API would be better
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.