XBROWSE and Colors

XBROWSE and Colors

Postby Jack » Wed Sep 28, 2011 9:24 am

I want the change the color of specific word in a column of a Xbrowse .
If a special word is present in a string , i want to display it in red and the rest in blue .

Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: XBROWSE and Colors

Postby Antonio Linares » Wed Sep 28, 2011 9:29 am

Jack,

You can use oColumn:bPaintText to draw the cell contents the way you want :-)

Here you can review an example of the bPaintText use:
viewtopic.php?p=119618#p119618
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 96 guests