Profile Picture

Mouse event not firing

Posted By Darren Woodhouse 3 Years Ago
Author
Message
Darren Woodhouse
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 5 Months Ago
Posts: 3, Visits: 41
OnLoad conatins
nChartControl1.KeyPress += OnKeyPress;

and OnKeyPress()

is never invoked!


Tags
Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,054, Visits: 4,015
Hi Darren,

We just tested this with the latest version and it was working:

nChartControl1.KeyPress += NChartControl1_KeyPress;
nChartControl1.Focus();

private void NChartControl1_KeyPress(object sender, KeyPressEventArgs e)
{
throw new NotImplementedException();
}

Please note that the control must have the input focus to receive this event just like any WinForm control. 

We hope this helps - let us know if you have any questions.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic