Results 1 to 7 of 7

Thread: [RESOLVED] toolbar pull down menu

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Resolved [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.
    Attached Images Attached Images  

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: toolbar pull down menu

    This is pretty much the same thing, only with a regular menu. Works really nice.
    Attached Files Attached Files

  3. #3
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    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...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    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)

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    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.

  6. #6
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: toolbar pull down menu

    I was actually trying to call this method:

    VB Code:
    1. 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.

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: toolbar pull down menu

    Quote Originally Posted by gavio
    I was actually trying to call this method:

    VB Code:
    1. 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width