Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any luck using toolbars with a top-level form ?
Message
De
27/05/1997 11:31:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00033685
Message ID:
00033698
Vues:
36
no, not really - you don't need a formset to use toolbars true it is the way VFP sets it up when you add a toolbar in the designer a simple example for adding a toolbar to a top level form: create a top level form add a propery to the form: oToolbar put a commandbutton on it and add the following code to the click event: set classlib to test thisform.otoolbar=createobject("testtlb") thisform.otoolbar.show() create a toolbar class (testtlb in test.vcx) set the showwindow property of the toolbar to 1 (in top level form) run the form Arnon > >I created a top-level form and wanted to include a toolbar with it. As we >all know, you have to have a formset in order to include a toolbar. I did >this and set the toolbar's ShowWindow property to In top-level form. But >it never would be visible. Has anyone been able to include a toolbar in a >top-level form successfully? > >Thanks. >Steve > >
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform