Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a ComboBox to AToolBar
Message
De
10/02/1999 07:36:27
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
À
09/02/1999 14:14:19
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00185202
Message ID:
00185889
Vues:
23
>>That said, you don't want to place UI-specific code in a business object's method until you have dropped an instance of the class into a form / container. This presents a case for dropping an instance of your business object inside the toolbar rather than adding it to the application object dynamically at runtime.
>>
>>Regards,
>
>Also, if you are only using this view to lookup ids or any other READ ONLY function, you don't really need a business object, you can just create the DE and use the DELoader to load it.
>
>Or, you could even just use a view or sql statement right in the drop down. What you could do is use a timer that will requery the combo/combos view so it is always up to date... or have a refresh button on the tool bar.
>
>There are ALOT of possibliities. Without knowing what all your requirements are, it is hard to make a recomendation on which approach to use.
>
>BOb

Guys,

I'm just looking for something like the font combo in MS Word. All the fonts are loaded in the combo, you can select your choice, and if I add a new font, the combo updates to reflect the addition.

By the way, I thought that one of the reasons for bizobjs is data manipulation and that direct access to the dbfs is a nono. If that is the case, you wouldn't want to use a SQL statement in the combo.

Any suggestions would be appreciated

TIA

Rex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform