jpeddy Posted November 10, 2008 Report Share Posted November 10, 2008 Hello, I am using 7.0.2664.18481 of the WinForms Chart control and am experiencing what seems like odd behavior. I issue the code line shown below in order to disable control of the Gallary via each of the tool-bar and pop-up menus. The problem that I am having is that if I right click on an actual series, the Gallery buttons (in all places) become re-enabled and remain re-enabled from then on. This does not seem like the correct behavior. Is there some way to prevent it? To reproduce, simply drop a chart on a form and put the following line in the OnLoad method. Me.Chart1.Commands(ChartFX.WinForms.CommandId.Gallery).Enabled = FalseThe right click in empty space and you'll see that the gallery is disabled. Then, right click on a series and it is now enabled not only in the pop-up menu but also on the toolbar if that is visible. Any help is appreciated. Thanks, John Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.