Hello,
is it possible to use bColorstd of xBrowse to build a gradient of columns ( 3D-loook ) in different direction ?
The column < button > shows the normal painting.
It is a matter of taste, but I think it looks much better.
best regards
Uwe
oBrw:aCols[ n ]:bClrStd := { || { CLR_BLACK, {{ 0.5, nClr1,nClr2 },{0.5, nClr2,nClr1}, .F. } } }
DATA nBoxPen INIT 1
if ::lRowBox .and. nStyle != 7
oCol := ::ColAtPos( nLast )
nLast := Min( oCol:nDisplayCol + oCol:nWidth - 1, ::GridWidth() - 3 )
RoundBox( hDC, If( ::lRecordSelector, ::nRecSelWidth, 1 ), nRow +1, ;
nLast, nRow + nDataHeight -1, 2, 2, ::nColorBox, ::nBoxPen )
//::Box( nRow, If( ::lRecordSelector, ::nRecSelWidth, 1 ), ;
// nRow + nDataHeight, nLast, ::nColorBox )
endif
s there maybe a solution to protect a cell from to be covered from the focused rowcolor
to keep the cellcolor / gradient visible like used for images ?
oCol:bClrSelFocus := oCol:bClrStd
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 68 guests