TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields

TsBrowse 6.00 - Incorrect column sizes with oBrw:LoadFields

Postby RAMESHBABU » Thu Jan 19, 2006 1: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
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 67 guests