ChartController in MDI application

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
acastro
Advanced
Posts: 204
Joined: Tue Oct 27, 2009 12:00 am

ChartController in MDI application

Post by acastro » Fri Oct 30, 2009 9:03 am

I have a ChartController in a mdichild form, it runs successfully, but when I send the chartController to be seen in the mdiParent with "ToolStripManager.Merge" command it doesn't make actions over the chart.

How can I see the chartController of a chart in a mdichild in the toolbar of the mdiparent?

Thanks in advance,

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: ChartController in MDI application

Post by Narcís » Mon Nov 02, 2009 1:17 pm

Hi wakeup,

Could you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

acastro
Advanced
Posts: 204
Joined: Tue Oct 27, 2009 12:00 am

Re: ChartController in MDI application

Post by acastro » Mon Nov 02, 2009 4:37 pm

Here you have an example project attached.

If you click New in the tool bar it show a mdichild form and adds the ChartController to the main toolstrip but the chart controller buttons don't run.
I have used this method of transfer toolstrips from mdichild to mdiparent a lot of times without problems, but something is diferent in chartcontroller.

Thanks
Attachments
TestChartControllerMdi.zip
(27.1 KiB) Downloaded 490 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: ChartController in MDI application

Post by Sandra » Thu Nov 05, 2009 10:15 am

Hello wakeup,

I belive,then investigated, there exist a general problem with ToolStripManager.Merge and not exlusive of TeeChart. I found many webs, that talk about similar problemes with using ToolStripsManager.

Some Links explain similar problems:


1.- First: http://www.tech-archive.net/Archive/Dot ... 01273.html
2.- Second: http://social.msdn.microsoft.com/Forums ... f61bd17dba (I Thinks that in the thread, comment a solution, that you want see four line).
3.- Third: http://jdixon.dotnetdevelopersjournal.c ... cation.htm.


On the other hand, We made a simple example with Winforms, that reproduce the same problem when use ToolStripManager.Merge and ToolStripManager.RevertMerge where demonstrated this problem isn't exlusive of TeeChart. I have added example, finally the post.

Please, you could check if in your application appears same problem? For reproduce the problem see next intruccions:

1.- You open the project, add your TeeChart.Net dll and execute
2.- You be able to see that appears correctly the ToolStrip, and works.
3.- Go to the code and comment line # 2 and uncommnet line #1
4.- Execute the program and push right button.
5.- You be able to see that image of ToolStrip not appears correctly and when you push buttons of toolStrip not works.

Finally, If you find a better solution of links said, would be better greatful , if you comment us.

I hope will helps.

Thanks,
Attachments
WindowsFormsApplication1.zip
(16.48 KiB) Downloaded 496 times
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply