We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

On Right Click ?

Thread ID:

Created:

Updated:

Platform:

Replies:

778 Aug 16,2002 12:25 PM UTC Aug 19,2002 08:58 PM UTC WinForms 3
loading
Tags: FAQ
John
Asked On August 16, 2002 12:25 PM UTC

Please help. I need to make it that on mouse right Click a little menue with custom choices to show up.

Clay Burch [Syncfusion]
Replied On August 16, 2002 05:48 PM UTC

You can use the Control.ContextMenu property to set a contextmenu for a control. Use the designer and drop a ContextMenu onto your form, and then add menu items to this contextmenu. Then on the design surface, select the control (or form) that you want to have this menu, and set its ContextMenu property to point to this ContextMenu that you created.

Administrator [Syncfusion]
Replied On August 19, 2002 01:55 PM UTC

Would you have some code saples or is there any place I can look it up.

Clay Burch [Syncfusion]
Replied On August 19, 2002 08:58 PM UTC

I don't have any code samples as this can all be down from the designer. There is no need to write any code at all. Here is a link to the MS help for adding a context menu. ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskAddingContextMenusToForm.htm

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;