View previous topic :: View next topic |
Author |
Message |
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Mon Feb 26, 2007 9:21 am Post subject: %tb with flyouts like %mn |
|
|
Is this possible ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Feb 26, 2007 10:20 am Post subject: |
|
|
Yes it is possible but perhaps only for one of the buttons.
Use %pm to define a popup menu for the main window and call it via DISPLAY_POPUP_MENU@(), this call being in the callback for the given %tb button.
If the normal usage of the popup menu (right click in the main window) is a problem then it will be necessary to over-ride the right click. There may be a straight forward way to do this but if not then it should be possible via %mg. |
|
Back to top |
|
|
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Wed Feb 28, 2007 1:03 pm Post subject: |
|
|
Thanks for the reply Paul - sadly I do not understand it !
I already have defined a pop up menu connected to the mouse.
I currently have a (vertical) bar of bitmap %tb entries.
I was hoping the flyout to simply be a list of other %tb within the brackets [ ] as I currently do for the main menu %mn. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Feb 28, 2007 1:22 pm Post subject: |
|
|
My suggestion was for a drop down menu that is displayed when you click on one of the buttons in your vertical bar. But since you are already using %pm I have no further ideas. |
|
Back to top |
|
|
|