Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding the navigation toolbar on a form
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01108135
Message ID:
01108666
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform