Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement