Page 1 of 1

dcbrowse usevisualstyle

Posted: Tue Oct 05, 2010 7:00 am
by skiman
Hi,

With the usevisualstyle in dcbrowse we have a better look. However, customers are asking to have the selected row in another color. The standard blue is rather light.

Can this be changed, without modifying all my browses or without the OWNERDRAW possibilities?

Re: dcbrowse usevisualstyle

Posted: Tue Oct 05, 2010 10:56 am
by Auge_Ohr
skiman wrote:With the usevisualstyle in dcbrowse we have a better look. However, customers are asking to have the selected row in another color. The standard blue is rather light.
Can this be changed, without modifying all my browses or without the OWNERDRAW possibilities?
visual Style depends on Theme so using :usevisualstyle := .T. meen that Color use XBPSYSCLR_* from System Theme Settings.
see : C:\ALASKA\XPPW32\Source\samples\basics\PRESPARA\panel.prg

the selected (marked) row looks like in every other M$ Application so you should not change your Application.

Re: dcbrowse usevisualstyle

Posted: Fri Oct 08, 2010 8:36 am
by rdonnay
Chris -

I have not yet found a way to override the system color on the selected row.
Even with ownerdraw you can only change the forground color.

Roger