Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid weirdness
Message
From
04/12/2001 18:33:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid weirdness
Miscellaneous
Thread ID:
00589570
Message ID:
00589570
Views:
51
Hi All,

OK I have a grid that displays through various cursors the info from the same table. When the users change from one cursor to the other, I need column widths to change as well. I cobbled together the following code:

with thisform.grdInven
for i = 1 to .columncount && number of columns in cursor
.columns(i).width = len(.columns(i).header1.caption)
endfor
endwith

The problem I have is that when I return the column width, it is in units much smaller than what I am used to working with. Does anyone know of a conversion I can slip into the code?

Thanks,
Winn Pauley
Next
Reply
Map
View

Click here to load this message in the networking platform