Print Page | Close Window

Context menu in C#

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=2902
Printed Date: 03 May 2024 at 7:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Context menu in C#
Posted By: IanWood
Subject: Context menu in C#
Date Posted: 16 September 2005 at 6:29am

Hi,

How do I have a context menu strip associated with the property grid. I notice that there is a right-click event which I asusme is why I can't have the context menu.

What have people done to have a context menu?

Cheers




Replies:
Posted By: Boyd
Date Posted: 29 November 2005 at 9:40am
You'll need to respond to the 'RClick' event and programatically display the context menu.  I don't use the .NET built-in menus, but I don't believe you can set the ContextMenu for Codejock's ActiveX controls like you can .NET controls.


Posted By: dmcelroy
Date Posted: 26 March 2006 at 4:48pm

OK but how do I get the coordinates of the item in the event?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net