Rex,
>Has anyone tried to add a combobox (I'm trying to use ComboBoxL) to the aToolBar for an application. I have taken a ComboBoxL and a business object and enclosed them in a cContainer. The problem lies in registering the business object. Is there an easier way to do this in MM??>
In what sense do you need to register the business object? Do you need to reference the object from outside of the toolbar?
If so, you can simply reference the business object in the context of the toolbar. For example, if you drop the "ProjectsObj" business object inside of your application's main toolbar, you can reference it from anywhere within your application as follows:
goApp.oMaintoolbar.ProjectsObj
If you have a toolbar that is tied to a particular form, you can reference the business object using the form's oToolbar property as follows:
ThisForm.oToolbar.ProjectsObj
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