Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overriding the navigation toolbar on a form
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01108135
Message ID:
01108666
Vues:
12
This message has been marked as the solution to the initial question of the thread.
Mat,

>I just upgraded an application to VS 2005 and installed the latest version of the MM Framework (runtime version v2.0.50727). Now when I compile, I am getting the error:
>
>"Cannot implicity convert type mmNavigationToolBar to mmNavigationToolStrip"
>
>with the following code on a mmBusinessForm:
>
>protected override void CreateNavToolBar()
>{
> this.NavToolBar = new aNavigationToolBar();
> this.Controls.Add(this.NavToolBar);
>}

It looks like you have created a specialized subclass of mmNavigationToolbar? If so, the MM .NET 2.0 What's New Guide mentions that you should recreate it as a subclass of mmNavigationToolStrip instead. The ToolBar class has been deprecated in .NET 2.0 and has been replaced by the much better MenuStrip control. We have created a new mmNavigationToolStrip control based on this new ToolStrip.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform