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: Last Month
Posts: 3, Visits: 36
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,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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