1 Attachment(s)
[RESOLVED] toolbar pull down menu
I have added a toolbar to my app. One of the buttons is a pull down menu, when I click on the button, I would like to show the pull down menu. I have searched the forum (as always) and could not find what I was looking for... how would this be done?
Screenshot attached.
1 Attachment(s)
Re: toolbar pull down menu
This is pretty much the same thing, only with a regular menu. Works really nice.
Re: toolbar pull down menu
Add a reference to Microsoft Windows Common Controls 6.0 (SP6) and then add the toolbar control into your form...Open properties by right clicking on the control and open Buttons Section from the Property page...Click on Insert ButtonMenu and voila...
Re: toolbar pull down menu
Quote:
Originally Posted by ganeshmoorthy
Add a reference to Microsoft Windows Common Controls 6.0 (SP6) and then add the toolbar control into your form...Open properties by right clicking on the control and open Buttons Section from the Property page...Click on Insert ButtonMenu and voila...
done that already. what im looking to do is when you click on the button, the pull down menu is visible (not only when you click on the down arrow)
Re: toolbar pull down menu
Quote:
Originally Posted by gavio
This is pretty much the same thing, only with a regular menu. Works really nice.
thanks, thats exactly what im looking to do. ill look more into your example.
Re: toolbar pull down menu
I was actually trying to call this method:
VB Code:
Private Sub Toolbar1_ButtonDropDown(ByVal Button As Button)
But don't know how to specify the argument exactly. If this would be acchived, it would be exactly as you want.
Re: toolbar pull down menu
Quote:
Originally Posted by gavio
I was actually trying to call this method:
VB Code:
Toolbar1_ButtonDropDown(ByVal Button As Button)
But don't know how to specify the argument. Button?! If this would be acchived, it would be exactly as you want.
either way, the example you provided did exactly what i was looking to do. i wish i knew how to code better. im sure plenty would laugh at my attempts to code :)