Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar
  Where is tushar?
 Kolhapur, Maharastra
 India
 tushar
 To: George Kelly
  Where is George Kelly?
 Dromore
 United Kingdom
 George Kelly
 Tags
Subject: RE: Taking advantage of larger screen resolutions
Thread ID: 83768 Message ID: 120143 # Views: 41 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Monday, January 29, 2007 4:12:41 PM         
   


> > "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)
>
> This is real good for application wide changes Ken!
> Question:
> Is it OK to insert "records" e.g. Command buttons
> If yes, What are the rules for assigning values for UniqueID and timestamp.
>
> George

Unique IDs sys(2015)
TimeStamp I use seconds()*1000

Regards
Tushar

COMPLETE THREAD