467,915 Members | 1,274 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

Toolbar Button as DropDown context menu

Hi,

I have a toolbar with several buttons on it, one of which is set up to
be as a DropDown button. I also have a context menu with menu items
assigend to it so when I click that button, my context menu shows up.

I have 2 questions:

1) how do I find out which menu item was clicked so I can use my
Select Case statement to perform appropriate actions depending on menu
item clicked.

2) because a toolbar button that is a DropDown menu button looks kinda
like two buttons, one with title on it and one with the arrow down
(for drop down menu items) how to set a defalult menu item? (menu item
clicked when I click the button itself without clicking on arrow down
and then selecting a menu item)

Thanks,
Dino
Nov 20 '05 #1
  • viewed: 3580
Share:
1 Reply

I got this one :)
just add context menu and create handlers for each menu item like for
normal context menu
On Wed, 28 Jul 2004 20:15:47 GMT, Dino Buljubasic
<di**@noplacelikehome.com> wrote:
Hi,

I have a toolbar with several buttons on it, one of which is set up to
be as a DropDown button. I also have a context menu with menu items
assigend to it so when I click that button, my context menu shows up.

I have 2 questions:

1) how do I find out which menu item was clicked so I can use my
Select Case statement to perform appropriate actions depending on menu
item clicked.

2) because a toolbar button that is a DropDown menu button looks kinda
like two buttons, one with title on it and one with the arrow down
(for drop down menu items) how to set a defalult menu item? (menu item
clicked when I click the button itself without clicking on arrow down
and then selecting a menu item)

Thanks,
Dino


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by blabore | last post: by
4 posts views Thread by Fredrik Melin | last post: by
6 posts views Thread by Juan Pedro Gonzalez | last post: by
3 posts views Thread by Meghezel | last post: by
1 post views Thread by Joseph Geretz | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.