How to highlight programatically selected items? |
Post Reply |
Author | |
RobinBennett
Newbie Joined: 22 June 2006 Location: United Kingdom Status: Offline Points: 1 |
Post Options
Thanks(0)
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
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |