>Everyone,
>
>I want to place several fields in one row in the treeview control
>in such a way that it looks like if there were columns.
>The problem is that i can't find a way to define the columns.
>I worked around this problem by setting with the space() function an
>area for a field but it didn't work because of the difference between the lenght of the spaces and of the characters. I can determine the
>exact width of the field (with txtwidth) but i can't set the space to
>that lenght for example by space(1.7). Does anybody has a solution ?.
>
>Regards,
>David
David,
The easy solution is to use a monospaced font. The hard one is to play with FONTMETRIC().
José