Results 1 to 4 of 4

Thread: Toolbar... HELP!

  1. #1
    Robcrowell
    Guest

    Question

    Ok simple question, how do i know what button the user clicked on?? I also have a dropdown button, and how do i make a menu appear from it??

  2. #2
    Addicted Member
    Join Date
    Jan 2001
    Location
    California
    Posts
    203
    give the button a name and respond in the btton_click event.

  3. #3
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Here ya go:
    Code:
    Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
    
        Select Case Button.Key  'Set this property inside the toolbars properties
            Case Is = "Email"
                MsgBox "Email toolbar button clicked"
            Case Is = "File"
                MsgBox "File toolbar button clicked"
        End Select
        
    End Sub

  4. #4
    Guest

    thanks

    ill give it a try, thanks both of ya

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