Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Don't want user setting focus to read-only items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
Message
drisch View Drop Down
Groupie
Groupie


Joined: 06 July 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote drisch Quote  Post ReplyReply Direct Link To This Post Topic: Don't want user setting focus to read-only items
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.107 seconds.