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:
00229530
Vues:
18
>>
>>if type('this.toptoolbar') != 'O'
>>   set classlib to toolclass
>>   this.toptoolbar = createobject('toptoolbar')
>>   release classlib toolclass
>> endif
>>
>
>I have the code you suggested in the toolbar init but I don't understand what I should put in the form activate. What is the first line doing?
> if type('this.toptoolbar') != 'O'

That's only in case the form is activated more than once, you don't want to run that code again if the toolbar exists. You want it to run the first time when the form opens, usually. Your toolbars have ShowWindow 'In top-level,' don't they? I assumed you had this, but maybe not...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform