Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using multiple containers
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00098334
Message ID:
00098583
Views:
26
>Everything works great if I just drag a control from kcontrls onto the properties page and set it's control source to my default view. But I just doesn't seem to work if I use the containers.>

What specific problem are you having?

>For instance, I'd like to use one of these containers in a CbizObjMaintenanceForm. If I only have this single container on the "Properties" page, how to I set-up the data environments? Should I override the built-in business object of Cbiz and use my container's biz object instead? What if I want multiple containers on this properties page?>

Again, if you could give me a more specific idea of what you need to do, I can give you a more specific answer. A general answer is: You can have as many business objects (with their associated data environments) on a form as you want. The business object is responsible for loading the cursors you have defined in its data environment, but all cursors are loaded into a single data session of the form.

You can disable the "built-in" CBizObjMaintenance" business object by setting its lEnabled property to FALSE. You can check out the Developer's Guide for details.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform