Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Way to Handle Key Fields in Custom Class
Message
From
30/11/2001 08:06:05
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
29/11/2001 17:10:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00587672
Message ID:
00587912
Views:
20
>If you have multiple methods which behave differently for the different views, then subclassing the class to handle the separate views would simplify code all around. You could then use an abstract factory to determine which subclass to instantiate to handle the specific view.

Jay

What is an abstract factory?

Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform