Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My toolbar doesn't work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00229335
Message ID:
00229375
Vues:
14
>I created a toolbar class. I then want to place this toolbar on an existing form. I can do that but it doesn't stay. When I run the form it's not there. When I open the form the next time, the toolbar is gone. What do I need to do?

Here's a post to someone else, the general idea is something like this. Not quite sure what your problem is, but you need something like this in the top-level Activate...do you have code similar to this?
if type('this.toptoolbar') != 'O'
   set classlib to toolclass
   this.toptoolbar = createobject('toptoolbar')
   release classlib toolclass
 endif

In toolbar init:

this.show
this.dock(0)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform