Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a ComboBox to AToolBar
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00185202
Message ID:
00185643
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform