Jump to content
Software FX Community

Chart Options


Sai Charan

Recommended Posts

Hi,

you can get the id of every command you press in the chart by setting up the InternalCommand event handler. please check the following snippet:

 

  private void Form1_Load(object sender, EventArgs e)   {   chart1.InternalCommand += new ChartFX.WinForms.CommandUIEventHandler(chart1_InternalCommand);   }   void chart1_InternalCommand(object sender, ChartFX.WinForms.CommandUIEventArgs e)   {   label1.Text = "Command Id: " + e.CommandId.ToString() + "HitType: " + e.HitType.ToString();   } 

Hope this helps.

Link to comment
Share on other sites

  • 2 weeks later...

HI

Thanks for your help.......

i am asking about the CLOSE button which is there in the Properties window. When i click OK , APPLY buttons of PROPERTIES window i can handle the events but when i click CLOSE button which is on same window i can't handle event for this i mean there is event handler for this. I got stuck here. Can you please tell me how can we handle close button?

Link to comment
Share on other sites

Hi i have mention CLOSE in previous question sorry it's not CLOSE it's CANCEL button

i am asking about the CANCEL button which is there in the Properties window. When i click OK , APPLY buttons of PROPERTIES window i can handle the events but when i click CANCEL button which is on same window i can't handle event for this i mean there is event handler for this. I got stuck here. Can you please tell me how can we handle CANCEL button?

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.

Guest
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...