This is a general question regarding the cursor tool.
Ive a cursor tool attached to chart. When the chart is made invisible then made visible again the cursor tool has disappeared. Even when I do
cursor1.Active = true
it does not reappear.
Actually to be totally accurate Ive created a control that contains a TeeChart. Ive then added this control to a Window. And then programmatically added the cursor tool. It works fine until I make the control invisible. Then when I make it visible again the cursor tool has disappeared and I cant make it visible again.
Problem with Cursor Tool?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello Dave,
I'm not able to reproduce the issue here using this code:
Could you please modify it or send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
I'm not able to reproduce the issue here using this code:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line1.FillSampleValues();
Steema.TeeChart.Tools.CursorTool cursor1 = new Steema.TeeChart.Tools.CursorTool(tChart1.Chart);
this.Click += new EventHandler(Form1_Click);
}
void Form1_Click(object sender, EventArgs e)
{
tChart1.Visible = !tChart1.Visible;
}
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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 |