Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - How to highlight programatically selected items?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to highlight programatically selected items?

 Post Reply Post Reply
Author
Message
RobinBennett View Drop Down
Newbie
Newbie


Joined: 22 June 2006
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote RobinBennett Quote  Post ReplyReply Direct Link To This Post Topic: How to highlight programatically selected items?
    Posted: 22 June 2006 at 10:41am
We would like to highlight items in the property grid that have been programatically selected (so the user can see which item has been selected)
 
The control automatically applies a highlight, the problem is that this highlight looks similar to a category heading, so the users don't spot it.
 
When the property grid has the focus, the selected item is a dark blue and this shows up a little better, but when another control has the focus, the seleted item is the same colour as the categories. In our case, the grid rarely has the focus, which is why we are selecting items programatically...
 
We've tried setting the CaptionMetrics.BackColor but it's overridden by the automatic highlighting.
 
We've tried the SetColour() method but it doesn't appear to have a parameter for the selected item.
 
Any ideas?
Thanks
Robin
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.156 seconds.