Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I subclass forms properly?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How do I subclass forms properly?
Miscellaneous
Thread ID:
00178197
Message ID:
00178197
Views:
73
I have two general class libraries called JPCNTRLS.VCX & JPFORMS.VCX

JPCntrls has my controls and JPForms has a few forms.
The forms also happen to use some of the controls from JPCntrls.

Now, if I simply subclass everything to make application-specific class libraries, the controls subclass just fine, but I get a problem with the forms.

I am creating two new class libraries called APPCNTRL & APPFORMS by doing:
CREATE CLASS (NewClass) OF (Newlib) AS (OrgClass) FROM (OrgLib)
for each class in each .VCX file.

A form itself will subclass just fine, but the controls ON the form will STILL be the actual controls from JPcntrls. They don't actually get subclassed in and of themselves.

Is it proper for me to want the controls on the APPFORM forms to be based on the controls in the newly created APPCNTRL?

I'm doing the changes manually, but it doesn't feel right.

Any suggestions or input would be appreciated.

Thanx very much!
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Next
Reply
Map
View

Click here to load this message in the networking platform