Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I drop a toolbar on a form (not a formset)
Message
De
11/07/2003 17:11:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00809237
Message ID:
00809431
Vues:
39
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
Fil
Voir

Click here to load this message in the networking platform