Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment on a page frame
Message
De
23/05/2002 12:37:57
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
22/05/2002 13:30:11
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00660030
Message ID:
00660576
Vues:
14
Any place you're seeing a data environment "only," what you're really seeing is the label of the object responsible for creating the data environment. You should always place your BizObjs/cdeLogicals on a form, then set the cDataEnvironment property of the oDELoader (Data environment loader object) they contain. Look at the property sheet for the Projects object on page 1 of the Projects form and you'll see what I mean. When instantiated, the oDELoader will auto-magically create your data environment, which means you shouldn't drop your environments directly on the form.

Keep in mind that the gridlist on page 1 of the Projects form has a built-in BizObj (cListOneToManyObj1) as part of its class structure. Like all good BizObjs, it too has a data environment so that the gridlist can be populated properly. It would appear that Kevin dragged the cListOneToManyObj1's data environment to a place where it is more visible than it usually is; by default its z-order places it behind the grid.

In this case, he's also disabled the built-in BizObj(cListOneToManyObj1) in favor of the BizObj in the lower right-hand corner, called Projects -- look at the user's guide for the steps involved on how/when to do this.

Hope that helped,
---J


>Why is it that in the sample ProjMgr of Mere Mortals, the first page contains the data environment object and the business object? While in other pages, it only has a business object and one page has a data environment object only? I'm confused on when do I need to place these two objects or when do I need only one of them and which one.
>
>Nerissa Dela Rosa
>McFadden's
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform