Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use Foundation Classes?
Message
From
23/01/2000 21:29:47
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00321400
Message ID:
00321505
Views:
26
Elgin,

The article is in the February, 1998 issue of FoxPro Advisor. The article is not published online so you would have to find someone who has the magazine.

I had reason to dig it out, so here's a summary:

A composite class is a container with at least one member. Example: a form that has container with a label and a text box like what you would use for a telephone number.

The (biggest) problem is when you subclass. Say you subclass your gray base classes so that everything has pink stripes. Now look at your composite form. The form has pink stripes since it was subclassed from the gray classes, but the label and text box are still gray, not pink stripes.

The article recommends several ways around this, and explains how to choose the work-around to fit the situation.


>Thanks for the recommendation. Can you give me a brief description and a few more examples of a composite class and why the warning about subclassing the composite class types? Or can you tell me where to find the article from Drew Speedie?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform