xBrowse color (Solved)
Posted: Wed Jan 13, 2021 8:59 pm
Good afternoon.
How to set the xBrowse cell / line color when it is out of focus?
Thanks
How to set the xBrowse cell / line color when it is out of focus?
Thanks
www.FiveTechSoft.com
https://forums.fivetechsupport.com/~fivetec1/forums/
https://forums.fivetechsupport.com/~fivetec1/forums/viewtopic.php?t=39855
Code: Select all | Expand
local aGradBarSel:= { { 1, RGB(252,252,195) , RGB(248,195, 134) } }
local aGradRowSel:= {{1, RGB(108,125, 184), RGB(241,222,088)}}
WITH OBJECT oBrw
:bClrSel := {|| { nRGB( 0, 0, 0), aGradRowSel } } // para barra de linea selecc cuando el control no tiene el foco
:bClrSelFocus := { || { CLR_BLACK, aGradBarSel } } // para barra de linea selecc cuando el control tiene el foco
END
Code: Select all | Expand
oBrw:bClrStd := { || { CLR_BLACK, If( GetFocus() == oBrw:hWnd, CLR_WHITE, CLR_HGRAY ) } }
Code: Select all | Expand
oBrw:bClrSel := {||{nRGB(255,255,255), nRGB(060,072,251)}}