Hi,
Can I change the color and font of the oTree object in xBbrowse ?
Hi,
Can I change the color and font of the oTree object in xBbrowse ?
You can use codeblocks for colors and fonts based on oBrw:oTreeItem:nLevel or any other datas of oBrw:oTreeItem
Thanks. Please give a small example
oBrw:bClrStd := { || If( oBrw:oTreeItem:nLevel == 1, { ... }, { ... } ) }
oBrw:oDataFonts := { || If( oBrw:oTreeItem:nLevel == 1, oBold, oNormal ) }Works. Thanks. I color the row for ::otree:nlevel=1, but it would be more convenient to combine columns in this row. I tried using column merging from the XBRUSER.PRG example Everything works, but the column separators are visible ![]()