Page 1 of 1

TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields

Posted: Thu Jan 19, 2006 1:27 pm
by RAMESHBABU
Hi all

I am using TsBrowse 6.00 build. The Column sizes are automatically not shown properly. I have to adjust them manually using "oBrw:aColumns[nColumn]:nWidth := oBrw:aColumns[nColumn]:nWidth + nIncrease_Decrease" clauses.

Is anybody having a solution or a fix for this.

Reagards

- Ramesh Babu P

Posted: Fri Jan 20, 2006 12:03 pm
by tnhoe
You can do this :

nPixel=6
select(yourDbf)
for i=1 to fCount()
oBrw:aColumns:nWidth=len(transform(fieldname(i),'@!'))*nPixel
next