How To Make a 'Right Click Menu'

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
6 posts Page 1 of 1
Contributors
User avatar
bjm0008
Dedicated Member
Dedicated Member
Posts: 69
Joined: Thu Aug 13, 2009 2:35 am

How To Make a 'Right Click Menu'
bjm0008
Ok first of all you need to follow these easy steps:

1. Put a contextmenustrip on your form.

Image

2. Now you need to enabled it on your item.(Can be textbox, richtextbox, picturebox, etc.)

Image

3. Edit the items on the contextmenustrip.

Image

For a Separator follow these instructions:

1. Place random text on one of the items, right click > Convert to > Separator.

Image

Ok back to the contextmenustrip,

4. Add code to your items, double right click (really fast) on the item you want to code. Then add it!

Image

5. Dubug, and enjoy the results!

Image
Image
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Re: How To Make a 'Right Click Menu'
Nery
You mean a Context Menu :)

Pretty good. 5/5.
Love your tutorials because you use lots of images which are good for beginners.
User avatar
bjm0008
Dedicated Member
Dedicated Member
Posts: 69
Joined: Thu Aug 13, 2009 2:35 am

Thanks for the positive feedback, actually im hoping that I'm going to get VIP status from doing that wahooo;
cooll;
Image
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Re: How To Make a 'Right Click Menu'
Nery
You'll have to work a bit more... VIP will be given to trusted, active, nice, clean and helpful people.
User avatar
bjm0008
Dedicated Member
Dedicated Member
Posts: 69
Joined: Thu Aug 13, 2009 2:35 am

Re: How To Make a 'Right Click Menu'
bjm0008
And what exactly is "Clean" suposed to mean :)
Image
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Re: How To Make a 'Right Click Menu'
Nery
with clean I meant people that doesn't have infractions.
6 posts Page 1 of 1
Return to “Tutorials”