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:
00098434
Views:
23
>I seem to be having a problem setting up forms that have multiple containers (that each have their own updateable data environments/business object).
>
> These containers have their own business object and data environment. They also contain a set of controls (text boxes bound to a view, etc).
>
>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.
>
>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?

Paul,

What you call containers are your bizobj's, no? I'm not exactly sure how you are adding the controls to your bizboj's. Each bizboj has to be created as a subclass of cBizObj (or better it's MM incarnation kBizObj) and is normally stored in aBizness.vcx

You open each of your business object in aBizness and add your controls from there.

Please tell me if I did'nt understand something in your question.

José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform