Hi

I Have a tool bar with dropdown buttons in it I know how to see what button is pressed but how do I tell when I have click one of the button menus? in the code below in the select statment where there is no value for case 12, 14, 16 and 20 that is where I have my dropdowns with 3 menu item in each. how do I tell what menu I have clciked

Thanks

Hugh

VB Code:
  1. Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
  2. Select Case Button.Index
  3.     Case 2
  4.         mnuNew_Click
  5.     Case 4
  6.         mnuOpen_Click
  7.     Case 6
  8.         mnuDelete_Click
  9.     Case 8
  10.         mnuTeach_Click
  11.     Case 10
  12.         mnuLogo_Click
  13.     Case 12
  14.      
  15.     Case 14
  16.    
  17.     Case 16
  18.        
  19.     Case 18
  20.         mnuCalc_Click
  21.     Case 20
  22.    
  23. End Select