Print Page | Close Window

Disable dbl-click select in PropertyGridItemEnum

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=10162
Printed Date: 22 November 2024 at 7:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable dbl-click select in PropertyGridItemEnum
Posted By: orca989
Subject: Disable dbl-click select in PropertyGridItemEnum
Date Posted: 09 April 2008 at 11:28am
It appears that by default when a user double-clicks on the CXTPPropertyGridItemEnum edit area that the next item in the list is selected.  I have users that would like to see this behavior disabled.  Is this possible and if so how?  I didn't see a flag that I could set to disable and before I went and tried something complex I figured I'd better ask to see if I was missing something simple.

Thank you in advance...



Replies:
Posted By: Oleg
Date Posted: 09 April 2008 at 2:45pm
Hi,
You can override CXTPPropertyGridItemEnum, its OnLButtonDblClk and don't call base method


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: orca989
Date Posted: 11 April 2008 at 8:59am
I can't believe I didn't think of that.  Guess I was wondering if there was a flag or property setting that I had missed.

Anyway, overriding the double-click worked fine.

Thanks.



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