Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dummy question about inheritance
Message
 
À
26/05/2006 19:20:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01125440
Message ID:
01125455
Vues:
25
Yes.
The children classes are running in the same app.
I think that I'm needing to implement "model view controller" pattern design.

Do you have some MVC's example in VFP?

T.I.A.

>Are those "children" running within the same app? If so:
>Keep the value you read in a property of custom oApp object. In init of your class it checks oApp.savedvalue. If it exists use it else do the select and populate. Or your class init code could do the select in init if it's not something time consuming (ie: over network, after intensive calculations etc).
>
>If you want to make that available to other application (even run on other stations) then you would need some kind of messaging between them. With VFP not a trivial task and likely you'd end up with saving the value to a shared file so others can read.
>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform