Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a ComboBox to AToolBar
Message
 
To
08/02/1999 14:05:21
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00185202
Message ID:
00185478
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform