FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour color on xbrowse Box
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
color on xbrowse Box
Posted: Mon Oct 28, 2024 06:20 PM
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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: color on xbrowse Box
Posted: Tue Oct 29, 2024 07:55 AM

Dear Silvio,

Checking it with Mr. Rao

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: color on xbrowse Box
Posted: Tue Oct 29, 2024 09:05 AM
Antonio Linares wrote:Dear Silvio,

Checking it with Mr. Rao
I think if I set :SetStyle( 2018 ) then this automatically imposes certain colors even if I then go and change them
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: color on xbrowse Box
Posted: Tue Oct 29, 2024 10:17 PM
Code (fw): Select all Collapse
:bClrSelFocus := { || {0,RGB(204,242,255)}}
Selected cell is painted with oBrw:bClrSelFocus only when the Browse has focus.

When the browse does not have focus, it is painted with oBrw:bClrSel (not oBrw:bClrSelFocus).
Default value of oBrw:bClrSel is
Code (fw): Select all Collapse
::bClrSel      := {|| { GetSysColor( COLOR_INACTIVECAPTIONTEXT ), GetSysColor( COLOR_INACTIVECAPTION )} }
This is the color of what you see in the screenshot above.

If you want a different color, set the color to oBrw:bClrSel.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion