>Then maybe I am missing it. How do you assign a business object to the grid? You have to do it in the form init programatically?
>
>What I am saying is, ins't there a way where the grid could have a property that holds the name of the bizobj which it represents?
CGridList was originally designed (a few years ago) for use in the business objects maintenance forms. As such, by default it stores a reference to its Parent container in its oBizObj property.
As it exists in its current incarnation, you can simply override this by placing code in CGridList.Init() such as the following:
This.oBizObj =
In the future, it may be a better idea to add a new "RegisterBizObj" method to CGridList.
By the way how *hot* is it in Tampa? And is Doug still wearing a coat?
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