Dave Crozier wrote: > Mike, > Well you can use CreateObject() without worrying about where the source code > is held and I usually prefer CreateObject to NewObject() exactly for that > reason. In fact I normally daisychain my class files with each one calling > the next one as in a chain of responsibility pattern.
Oh I chain mine as well, but using the Init of each object to invoke the next in its chain. For example, my bizobj code instantiates the dataobj related class and stores it via reference to the bizobj. (oBizObj.oDataObj). That's a clever point though that you mention about the CreateObject no matter what. > > I guess that there is no right or wrong way of doing it but I find that I > can easily keep all the classes isolated using this method without worrying > about the path where the actual source code is located. I always use a relative path, but your point is well taken! > > As I said to Jan there are, as we are well aware, many ways to skin a cat or > in this case "fox". Absolutely! I hope others enjoy their dev tools like we do the Fox. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

