Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBizObjMaintBase...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00124033
Message ID:
00124456
Vues:
17
BOb,

>My question is, can't this be a bit more encapsulated. For example, in the afterrowchange of the grid, instead of using this.oBizObj.getalias(), can't you do a thisform.oBizObj.getalias() ???>

That would work well only if the form's primary business object is truly the object you want to associate with the grid. If you have multiple grids on a single page (as I did in a form I created last night!) you'd end up with a serious contention problem if the Framework assumed the primary business object.

This approach offers the most flexibility because you can assign any business object...whether primary or not...to the grid.

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform