Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Absolute width of a populated grid?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00340587
Message ID:
00341663
Views:
36
>I'm not sure, SysMetric(5) [Width of Scrollbar Arrow] returns 16 but my excess on the column.widths is 36. Comes a long way short. I've decided to use 36 for now and see what happens when other grids begin to use the functionality I've added in (to resize the form to show all columns in the grid - child form).
>>
>>Ahhhh, there one in the same (not litarally), but close enough, and they're what we got for our calculation.

SWAG: Are you using the same units of measure? You may be getting bit by one width being returned in pixels and the other in Foxels...SYSMETRIC() generally uses measurements in pixels.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform