By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,192 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

Toolbar Button as DropDown context menu

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a

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.