Print Page | Close Window

How to highlight programatically selected 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=4464
Printed Date: 02 December 2024 at 12:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to highlight programatically selected items?
Posted By: RobinBennett
Subject: How to highlight programatically selected items?
Date 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



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