Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interaction between biz obj - design question
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Interaction between biz obj - design question
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00990572
Message ID:
00990572
Views:
51
Hi everybody,

For batch process which is going to be run at night I'm instantiating a biz obj in the program. I found, that I need to use some logic from another biz object. I may want to use more biz objects.

So my question is how to approach this the best way:

1. Put all biz objects into container and then I want to use some methods or properties from other object in the first object use:


this.parent.CalendarObject.somemethod()


2. Create an object reference in my main object. In its PostInitHook do something like

this.NewObject('CalObj',"CalendarObject")


What is the preferable method?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform