Jump to content
Software FX Community

Toolbar buttons / commands


Recommended Posts

I want to have 3 buttons grouped together and when one is click the others are toggled off, is that what the Style GroupHead and Group and for ?

I have tried doing this:

chart1.Commands[1].Style |=


and then for the others

chart1.Commands[2].Style |= CommandStyles.Group; 


Now when the chart.UserCommand event fires, the command id never seems to change.

 Is there an example somewhere of using the


.GroupHead to set the style for a toolbar command object ?
Link to comment
Share on other sites

  • 3 weeks later...

You can refer to the Resource Center for more information about working with Commands (Chart FX Programmer's Guide - Advanced Features - Working with Subcommands). There is also an application within your Samples folder: CustomizingUI. It will help you with your questions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...