Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Absolute width of a populated grid?
Message
From
03/03/2000 03:11:26
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00340587
Message ID:
00341113
Views:
27
>That's what I want, but it is a messy calculation to get there (adding the columns plus 12 for each column - doesn't seem safe to me). I was wondering if there was a property on the grid that contained the correct value for this.

Why 12? I would have just assumed that:
nWidth = 0
for each loColumn in This.Columns
	nWidth = nWidth + loColumn.Width
endfor
?nWidth
would do it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform