Results 1 to 2 of 2

Thread: right click

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    13

    Question

    How do yo make a menu pop up when the right mouse button is clicked in vb 6.0?

  2. #2
    New Member
    Join Date
    May 2000
    Posts
    5
    it needs to be in a MouseDown event (so you can trap for the button)

    if Button=vbRightButton then
    PopupMenu mnuYourMenuName
    end if

    the PopupMenu method takes some other paremeters as well (like position and such), so you may want to look at the help file. For your info, vbRightButton = 2

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