Peter, You would be better off creating a complete "BaseControls" in one VCX with a class for every standard class such as command buttons, drop down boxes etc. Then create a "BaseForms" holding the stand Form.
You can then subclass these "Base" forms/controls to create you application base classes in another pair of VCX's "ApplicationControls" and "ApplicationForms". This way you can modify the "BaseClass" to set up standard bahaviour common to all applications and modify "ApplicationClass" to introduce behaviour/display characteristics common to the Application. Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Cushing Sent: 03 October 2006 16:50 To: ProFox (Wierdo) List Subject: Where do you store your form classes? Just want to see where people store their form classes and why. When I first started using VFP I used to create a new form from scratch every time I needed one, which was a pain. Now I have created a baseform class (stored in a baseform.vcx) which has all my basic form characteristics set. The baseform class has been subclassed this to a modal class. Now if I need a new form I subclass one of these and then save it in the same file (baseform.vcx) using a new name. My problem is that I did a new form on Friday, which was working nicely but when I opened it today all the method code has gone! I can recreate the code as it was not that complex but I am now thinking that I should save each new form in its own VCX file (still subclassed from baseform). This might be more secure as if one file becomes corrupt it won't affect the others (unless it is the baseform). Any views/ideas on this and why? TIA Peter BTW I only backup about once a week so didn't catch this one :-( [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

