Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00670279
Message ID:
00670347
Vues:
23
>Why does it not show up IN the top-level-form?

After trying what VFP help file says about using form set, I was not able to make the toolbar to act as a child of the top level form. It was stuck to the main VFP form.

But I found it could be done without a form set by adding the following to the forms Activate event:

IF TYPE("this.oToolbar") # "O" OR ISNULL(this.oToolbar)
Set Classlib To MyClass Additive
this.oToolbar = CREATEOBJECT("MyTbr")
this.oToolbar.show
ENDIF

Why does it does not work the same way when the code is added to the Init event?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform