Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dummy question about inheritance
Message
 
To
26/05/2006 19:20:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01125440
Message ID:
01125455
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform