Print Page | Close Window

Don't want user setting focus to read-only items

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=20050
Printed Date: 21 November 2024 at 12:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Don't want user setting focus to read-only items
Posted By: drisch
Subject: Don't want user setting focus to read-only items
Date Posted: 15 August 2012 at 12:53pm
I have some read-only fields in my property grid. I would like these fields not only to be read-only, which I can do with CXTPPropertyGridItem::SetReadOnly(), but I would also like them to be removed from the tab order, so tabbing skips them. I would also like them to not get focus when the user clicks on them. Currently the user can click in a read-only item and the focus goes there with the flashing insertion point. Then when the user types, nothing appears. It would be clearer to the end user that this is a read-only field if the field never receives the focus in the first place.
 
Thanks.
 
Derek



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