TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields

Post Reply
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields

Post 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
User avatar
tnhoe
Posts: 83
Joined: Tue Nov 08, 2005 11:09 am
Location: Malaysia
Contact:

Post by tnhoe »

You can do this :

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

Hoe, email: easywin3@yahoo.com
Post Reply