Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding method to subclass of KBizObj issue
Message
 
 
To
30/06/2005 09:10:13
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027525
Message ID:
01027655
Views:
19
Yes, you may try to create a new library with the biz object. We have all our classes starting with a, e.g, aBizObj, and everything works just fine.

BTW, I posted another question in the forum yesterday and nobody replied so far :( Do you use delayed instantiation technique with your pageframes? We tried it yesterday with one very big and heavy form. It works quite nicely, the logic is encapsulated, etc., but for some strange reason the Close of the form doesn't work if we answer No. It produces an error message, which is not handled properly by the Error handler, BTW. I think, the Error handler should be more robust.

We're currently debugging the problem, but perhaps you faced this situation already and can share your experience.

Thanks.

>Hello Nadya,
>I've tried to add another method TEST() to the MKBizObj with MessageBox("Hello") and it did the same thing. I've tried to call those methods from different app BizOBjs, the same results. The fact that after compiling everything works makes it even more weird, wouldn't you agree? If I ran our app as an .exe, everything works so as far as our clients concern ,they are fine but we can develop it without several major forms crushing.
>The reason why we created this method on our based MKBizOBj is because this object is needed on several very "heavy" forms with several other "heavy" BizObj and we have a lot of indexes created for proper sorting of the data and we don't want to created unnecessary indexes if this particular form doesn't need it. For example, TaxAutorityBizObj needs two indexes created on it's File Maintenance Form but we don't want those indexes created on few other forms. So, base MKBizObj gets host for name, if there is one and compares this name to the name of the form it's sitting on and based on this comp arising either creates or doesn't those indexes. Since there are several other BizObj are doing the same thing, we added the method to get FormHostName on base MKBizOBj.
>I will try to delete and subclass MKBizOBj again, see if it helps.
>Thanks for the help.
>Igor
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform