Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Docking toolbars to top level Form
Message
De
12/12/2000 09:16:32
 
 
À
11/12/2000 17:05:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00451915
Message ID:
00452159
Vues:
34
I found the following in the VFP help under
"toolbars - adding custom to form sets":
----------------------------------------------
To add a toolbar to a form set using code
In the form set’s Init event, use the SET CLASSLIB command to specify the library containing the toolbar class, and then create a toolbar from that class in the form set.
For example, to add and display the toolbar tbrPrint, which is based on the printing class in the inventory class library, add the following code to the form set’s Init event:

SET CLASSLIB TO inventory
THIS.AddObject("tbrPrint","printing")
THIS.tbrPrint.Show
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform