I have this color on cell
But I set
:bClrSelFocus := { || {0,RGB(204,242,255)}}
:bClrRowFocus := { || {0,RGB(204,242,255) }}
then when I select a cell it change with my color
color on xbrowse Box
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
color on xbrowse Box
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: color on xbrowse Box
Dear Silvio,
Checking it with Mr. Rao
Checking it with Mr. Rao
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: color on xbrowse Box
I think if I set :SetStyle( 2018 ) then this automatically imposes certain colors even if I then go and change themAntonio Linares wrote:Dear Silvio,
Checking it with Mr. Rao
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: color on xbrowse Box
Code: Select all | Expand
:bClrSelFocus := { || {0,RGB(204,242,255)}}
When the browse does not have focus, it is painted with oBrw:bClrSel (not oBrw:bClrSelFocus).
Default value of oBrw:bClrSel is
Code: Select all | Expand
::bClrSel := {|| { GetSysColor( COLOR_INACTIVECAPTIONTEXT ), GetSysColor( COLOR_INACTIVECAPTION )} }
If you want a different color, set the color to oBrw:bClrSel.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India