Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid -how to size to outer container?
Message
From
15/01/2007 15:38:52
 
 
To
15/01/2007 14:55:33
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01185226
Message ID:
01185713
Views:
18
Hi Mike,

Yes, that's a thought. In fact I need to download all the upgrades from about 2002 onward and start applying them. It will be a boatload of fun I am sure. But I could dl the latest one and see if there is a change in just that method. As it is, it is so long since I have been on VMP that I am not even sure I can find the downloads pages....:-)

>Hi Albert
>
>I'd get the latest VMP. See if there's a difference in that one method that works for you. Then you can always decide to do a full upgrade or not.
>
>>Hi Dragan,
>>
>>You most likely were using VMP as a framework, no? Using your code as a clue I traced it down to the fact that there is a method in VMP's class XXFW.VCX/grdbase called .SizeColumnsToFit() that uses similar metrics to set the last column to be within the grid. Somehow it is "off" which I have not figured out yet (works under VFP7 but not 9). I am way behind in updating the VMP classes from about 4 years ago (project for this year). For now, either I use your code or override VMP's method so that it does not fire.
>>
>>Thanks for responding.
>>
>>Just in case I use your code, would you mind giving me a bit of the logic behind the equation - I understand some but not all of what you are doing.
>>
>>Thanks,
>>
>>Albert Gostick
Previous
Reply
Map
View

Click here to load this message in the networking platform