drop down menu help!

  • Thread starter Thread starter pyro81
  • Start date Start date
P

pyro81

Guest
i have a button on a form which i want a menu to drop down from when it is pressed.
can use a context menu but i can only get it to work when the mouse is righthand click........any ideas?
 
This kind of does it:

Put this in the button's click event.
Visual Basic:
        [i]ContextMenu[/i].Show([i]Button[/i], New Point([i]Button[/i].Location.X, [i]Button[/i].Location.Y))
. It'll just take some tweaking to make it show in the right place.
 
Back
Top