FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields
Posted: Thu Jan 19, 2006 01:27 PM

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
Posts: 83
Joined: Tue Nov 08, 2005 11:09 AM
TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields
Posted: Fri Jan 20, 2006 12:03 PM
You can do this :

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

Hoe, email: easywin3@yahoo.com

Continue the discussion