Clickable axes

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Anthony
Newbie
Newbie
Posts: 35
Joined: Wed Feb 25, 2004 5:00 am
Location: WL| Delft Hydraulics, Holland
Contact:

Clickable axes

Post by Anthony » Fri Jan 28, 2005 2:09 pm

Hi,

I am working with clickable axes, and check on the number of mouse clicks, but the events always returns with 1 mouse click.

The code looks like:
private void tChart1_ClickAxis(object sender, System.Windows.Forms.MouseEventArgs e)
{
int noClicks = e.Clicks; <-- always returns 1 mouse click ??

Any idea what might be wrong ..

Many thanks in advance.

Best regards,
Antoon Koster
Netherlands

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Jan 28, 2005 4:54 pm

Hi Antoon,

it works fine here using the latest Build available and the following code :

Code: Select all

private void tChart2_ClickAxis(object sender, System.Windows.Forms.MouseEventArgs e)
{
	int c = e.Clicks;
	label1.Text = c.ToString();
}

Post Reply