Selection Color in Vista

Selection Color in Vista

Postby michaelp » Thu 20 Sep 2007 08:27

Hi there

When I have a number of records loaded, and one is selected, the selection bar shows in blue.

When the control loses focus, the blue change to gray.
In XP it works fine, but it Vista you can hardly see the gray.

How can I change this to always be blue, even if the control loses focus.

Cheers,
Michael
michaelp
 
Posts: 6
Joined: Mon 17 Sep 2007 14:47

Postby Antaeus » Thu 20 Sep 2007 15:07

This behaviour depends on your grid, and, probably, on the color schema of your Windows.
Antaeus
 
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Postby michaelp » Thu 20 Sep 2007 15:11

Yes, I agree with that.
The thing is that I use the default Vista settings without changing the color schema.

That is why I would like to know if I can change the color of the selection bar.

I would think that more user's will have this problem when migrating to Vista, and won't want to change the Vista color schema.
michaelp
 
Posts: 6
Joined: Mon 17 Sep 2007 14:47

Postby Antaeus » Fri 21 Sep 2007 07:56

This depends on the grid you are using. You should refer to the documentation of your grid, or contact its vendor.
If you are using the standard grid, you can paint grid cells manually. An example you can see in the CahedUpdates demo. For more information see description of the DrawDataCell event in the Delphi help.
Antaeus
 
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Postby michaelp » Fri 21 Sep 2007 10:20

Hi

I'm using TVirtualStringTree.
I thought it would be a setting or something to change the selection bar's color.

Thanks,
Michael
michaelp
 
Posts: 6
Joined: Mon 17 Sep 2007 14:47

Postby Antaeus » Fri 21 Sep 2007 11:36

This forum is dedicated to the VirtualTable component. To find an answer to your question, please refer to the corresponding resources in Internet.
Antaeus
 
Posts: 2098
Joined: Tue 14 Feb 2006 10:14


Return to VirtualDAC