Page 1 of 1

Could txbrowse paint as good as tsbrowse ?

PostPosted: Sat Mar 11, 2006 2:37 am
by ShumingWang
Hi,

The backgroud color result , one line white, the next line light green.

#define CLR_1 nRGB( 190, 215, 190 )
#define CLR_2 nRGB( 230, 230, 230 )

Tsbrowse:

oBrow:SetColor({ 2, 5, 6, 15 ,11,12},{ { || If( oBrow:nLogicPos % 2 = 0, ;
CLR_1, CLR_2 ) }, CLR_WHITE, CLR_GREEN, CLR_GREEN,CLR_BLUE,CLR_YELLOW })

Txbrowse:
obrow:bClrStd := {||{CLR_BLACK,if(eval(obrow:bbookmark)%2==0, CLR_1, CLR_2 )}}

Best regard!
Shuming Wang