Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a ComboBox to AToolBar
Message
 
À
08/02/1999 14:05:21
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00185202
Message ID:
00185478
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform