Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Billy Barrows
  Where is Billy Barrows?
 Paintsville
 Kentucky - United States
 Billy Barrows
 Tags
Subject: RE: Subclass form
Thread ID: 310879 Message ID: 310885 # Views: 46 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Sunday, June 26, 2011 9:31:41 PM         
   


> >
> >
> > There are several ways. I think you can do that with the toolbox, but I never tried. Personally, I have a small excluded prg called "CreateForm.prg" with only one line of code:
> >
CREATE FORM frm1 as frm FROM .\libs\customer_classes\vcust_ctrls.vcx
where frm is the name of the class, and the rest is the full path to the class library.
> > I run it and I have my form.
> >
> > Regards
> > Samir
>
> Thanks Samir - that works!

You can also do it in the Options panel. By specifying what class your form will always use. Then every time you create a new form it will be based on that class.



Mike Gagnon
Refox XI +(English version)

ENTIRE THREAD

Subclass form Posted by Billy Barrows @ 6/26/2011 5:10:54 PM
RE: Subclass form Posted by Samir H. @ 6/26/2011 5:23:05 PM
RE: Subclass form Posted by Billy Barrows @ 6/26/2011 5:47:18 PM
RE: Subclass form Posted by Mike Gagnon @ 6/26/2011 9:31:41 PM
RE: Subclass form Posted by Tamar Granor @ 6/27/2011 11:05:04 PM
RE: Subclass form Posted by Billy Barrows @ 6/29/2011 3:01:17 PM
RE: Subclass form Posted by Tamar Granor @ 6/30/2011 10:28:03 PM