Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Old toolbar still shows up
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00537351
Message ID:
00537415
Vues:
16
>Sorry, wasn't sure how to begin describing this. I have a custom toolbar that I was calling from the Init method of a formset with 'ThisFormSet.toolbarname.Dock(0)'. I have "This.Dock(0)' in the Init code of the toolbar named in the above statement. The problem is, I changed the base custom class of the toolbar and now both the old and the new toolbars show up docked on the formset. This happens in the app and the exe.

Try getting rid of the this.dock(0) call in the Init method of the parent and the subclassed toolbar object and try calling .dock() once from the formset. You are getting two instances of the toolbar object by creating a reference to the object.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform