Dear Supporter,
How do I add a button to a chartcontroller?
How do I add an image to that button?
A VB.Net example would be great.
Cheers
Francis
Adding a button to a chartcontroller?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi FP_Oz,
It's much easier doing it at designtime. Just click on the ChartController component, click the "Add ToolStripButton" icon and select a button there. Now you'll have a new button in project's properties window, you can choose the image to use there.
Hope this helps!
It's much easier doing it at designtime. Just click on the ChartController component, click the "Add ToolStripButton" icon and select a button there. Now you'll have a new button in project's properties window, you can choose the image to use there.
Hope this helps!
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 |
Hi Narcis,
Thanks for your anwer but it does not really solve my problem. I use one controller for an array of charts and need to modify the buttons based on which graph is selected during runtime.
If the buttons on the controller are not assessible anymore (they were accessible on the Ax component), would it be possible to put on the 'to-do' list to add a method to add/remove buttons from the toolstrip collection?
Cheers
Francis
Thanks for your anwer but it does not really solve my problem. I use one controller for an array of charts and need to modify the buttons based on which graph is selected during runtime.
If the buttons on the controller are not assessible anymore (they were accessible on the Ax component), would it be possible to put on the 'to-do' list to add a method to add/remove buttons from the toolstrip collection?
Cheers
Francis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Francis,
They are also accessible in the .NET version as you can see in the examples at All Features\Welcome !\Components\ChartController\Custom Buttons in the features demo, available at TeeChart's program group.
They are also accessible in the .NET version as you can see in the examples at All Features\Welcome !\Components\ChartController\Custom Buttons in the features demo, available at TeeChart's program group.
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 |