How to open a menu by clicking a button? [message #459584] |
Thu, 11 August 2005 17:04 |
Eclipse User |
|
|
|
Originally posted by: kevinbrem.discardmail.com
Hi!
I want to show up a drop-down menu by clicking on an additional button
(placed somewhere in a composite). I tried to set the menu visible but
it didn't come up (and checking the visibility afterwards with
isVisible() returned false).
I also tried to open the menu through code, but it wasn't opened either.
If I use the menu in a normal way (by clicking directly on it),
everything works fine.
But how can I achieve to open it via a button (or through the program
directly)?
Thank you for your help!
Cheers, Kevin
|
|
|
|
Re: How to open a menu by clicking a button? [message #459781 is a reply to message #459776] |
Tue, 16 August 2005 18:18 |
Eclipse User |
|
|
|
Originally posted by: kevinbrem.discardmail.com
Hi Grant!
Grant Gayed schrieb:
> In your context would it make sense for you to show a
> popup instead that had the same items as the drop-down, so that the user
> would not have to mouse over to the shell's top-left corner to access the
> drop-down menu?
Unfortunately a popup-menu is not the solution to my problem.
Nevertheless you helped me with your answer!
If I know, that this isn't possible, that's okay. So I omit it :-)
Thank you!
Kevin
|
|
|
Powered by
FUDForum. Page generated in 0.03250 seconds