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,
ChartController in MDI application
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: ChartController in MDI application
Hi wakeup,
Could you please attach a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
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 |
Instructions - How to post in this forum |
Re: ChartController in MDI application
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
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
Re: ChartController in MDI application
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,
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 |
Instructions - How to post in this forum |