How to switch Row-Colors in xBrowse (without Function)
Posted: Wed Mar 26, 2008 1:43 pm
Hello
There is a easy way to switch row colors
without any function
Regards
Uwe[/code]
There is a easy way to switch row colors
without any function
Code: Select all
// Define alternating row colors
// Col 1
// ------
oLbx1:aCols[ 1 ]:bClrStd := ;
{|| IIF( AT(".0", STR( oLbx1:nArrayAt / 2 ) ) > 0, ;
{CLR_BLACK, COLOR1}, {CLR_BLACK, COLOR2} ) }
// Col 2
// ------
oLbx1:aCols[ 2 ]:bClrStd := ;
{|| IIF( AT(".0", STR( oLbx1:nArrayAt / 2 ) ) > 0, ;
{CLR_BLACK, COLOR1}, {CLR_BLACK, COLOR2} ) }
Uwe[/code]