Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I created a toolbar and saved it as a toolbar class. Then I put it on an existing form & it doesn't stay on the form. It's on a form under the one with all the stuff on it. The toolbar init has
this.show
this.dock(0)
In the form activate I put code
if type('this.mytoolbar') != 'O'
set classlib to mytoolclass
this.mytoolbar = createobject("mytoolbar")
release classlib mytoolclass
endif
This code puts the toolbar under the VFP toolbar, not on my data-entry form. Also, because I didn't realize I had put the toolbar on the underneath form, it's there about 5 times so when it appears under the VFP toolbar, it's there 5 times. How do I remove all these toolbars? How do I get the toolbar to belong to the custom form? I can't find any info on this. Why are toolbars such a mystery?
Thanks
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement