Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Right click event 1

Status
Not open for further replies.

jbrowne

Programmer
Feb 1, 2000
182
IE
Hi all,<br>&nbsp;&nbsp;I need to add right click functionality to my project. What I need is for a pop-up menu to appear when I right click on an object eg a command button. Could anyone tell me the easiest way of going about this.<br><br>John B<br>
 
well instead of mouse_click, you can try Mouse_Down or mouse_Up, and do an <br>If Button = 2 then...<br>since those events lets you check on what cordinates, and on which button was pressed. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Thanks Karl - that solves my problem alright <br><br>John B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top