Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Gary.
I thought I did this one time. Can I drop a toolbar on a form? Not a formset but on the form.
If you do not want to go with the container idea, you can always use the Microsoft ActiveX toolbar. It is pretty eay to use. We did a kitbox column on this topic in the May issue of FoxTalk magazine.
Button up Your Forms
It's very common in Windows-style interfaces to include a toolbar embedded in a form. However, Visual FoxPro, although very flexible, doesn't actually support this style of interface natively, and toolbars can only be docked in the FoxPro desktop. This month, Andy Kramek and Marcia Akins show how you can dock the Microsoft ActiveX Toolbar inside a Visual FoxPro form and data-drive its configuration.
Andy: Hey, Marcia—you've done lots of cool UI things. I can't figure out how to get a toolbar to dock inside a form. What am I missing?
Marcia: I'd guess that you're missing the fact that you can't do it with the native VFP toolbar class. However, since the "Hot Tracking" option was added to a command button's SpecialEffect property in Visual FoxPro Version 7.0, it's a fairly simple matter to add a button bar to a form and make it look like a docked toolbar. Will that do?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement