Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: George Kelly
  Where is George Kelly?
 Dromore
 United Kingdom
 George Kelly
 To: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 Tags
Subject: RE: Taking advantage of larger screen resolutions
Thread ID: 83768 Message ID: 119407 # Views: 44 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Tuesday, January 23, 2007 2:01:54 AM         
   


> "This looks like a very good idea for new projects..."
>
> George,
>
> When you have the sizer that you want, why not retrofit your old forms. Create your new form class (inlcuding the sizer) and then open your form as a table and change the form's classlib and class name:
>
> USE [Path2\MyForm.SCX] IN 0 EXCL ALIAS MyForm
> SELECT MyForm
> LOCATE FOR BaseClass = [Form]
> REPLACE Class WITH [MySizerFormClassName], ;
>         ClassLoc WITH [FulPath2\MyBaseClassLib.VCX]
> USE IN SELECT([MyForm])
> 

>
> With VFP, just about everything is a table. Using ADIR() you could write a little program that looped through all of the forms in you Forms directory and change the class and classlib to your new new sizerform class.
>
>
> Ken
> You shall know the truth - and the truth shall set you free. (John 8:33)

That looks like a real good idea Ken!
I didnt know it could be that easy. Thanks yet again.

George

COMPLETE THREAD