Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(OOP) Part Time Composite Objects?
Message
 
To
25/08/2003 11:37:01
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00822766
Message ID:
00823526
Views:
31
>>Hi Chris,
>>
>>I've done this before.
>>
>>How about adding a couple of properties to the parent bizobj and make them point to child objects on an as-needed basis.
>>
>>if this.ChildObject1 is not type object and we need it to be an object
>> create child object and have the parent-object property point to it
>>endif
>>
>>Is this what you have in mind?
>
>I think my biggest problem is I don't know what I have in mind. This sounds like the easiest answer, but it's more code to write. (Isn't everything?)
>

Hi Chris,

It's more code to write but it's not necessarily a lot of it. At most, 3 extra lines, to determine whether the object you're expecting to find is indeed instantiated, and if it isn't, instantiate it.

Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform