oBrw:nClrPane = { | nCol | If( nCol = 1, CLR_HRED, CLR_HGREEN ) }
Hi Rick:Rick Lipkin wrote:The sample code turns the entire row green .. not just the last column .. using standard Twbrowse FWH class ..
* Enhancement: Class TWBrowse DATA nClrPane if used as a codeblock, now receives a numeric
parameter with the column to be displayed, so you can change the color of a single cell.
Please review samples\BrwColor.prg.
Rick Lipkin wrote:The sample code turns the entire row green .. not just the last column .. using standard Twbrowse FWH class ..
Sorry I'm not updatedEnrico Maria Giordano wrote:This is not true. From FWH May 2008 whatsnew.txt:Enhancement: Class TWBrowse DATA nClrPane if used as a codeblock, now receives a numeric
parameter with the column to be displayed, so you can change the color of a single cell
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 66 guests