FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE and Colors
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
XBROWSE and Colors
Posted: Wed Sep 28, 2011 09: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: XBROWSE and Colors
Posted: Wed Sep 28, 2011 09: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

Continue the discussion