Good afternoon.
How to set the xBrowse cell / line color when it is out of focus?
Thanks
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
oBrw:bClrStd := { || { CLR_BLACK, If( GetFocus() == oBrw:hWnd, CLR_WHITE, CLR_HGRAY ) } }
oBrw:bClrSel := {||{nRGB(255,255,255), nRGB(060,072,251)}}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], nageswaragunupudi and 42 guests