Right Click in Form

annir

Active member
Joined
Sep 1, 2008
Messages
32
Programming Experience
Beginner
Hi Guys,

Can I ask if you know how can I make a right click in any part of the form.

For example I want to copy and paste something. Then, i just want to right click then pop up menu will appear. What control in vb.net is that? is it the contextmenustrip?? and how will appear every time I will right click the mouse?.

Thanks.

annir
 
Ya, you are right about it. It's contextmenustrip.


First of all, you must get your contextmenustrip ready with button & coding.

Depending on which control you want to perform your right click function.
Example : on a textbox; click on the textbox, goto behavior property, can can see a option called contextmenustrip. Default was set to none, click on the combo, if you had your contextmenustrip ready, it's will showed there, just select it.
 
Back
Top