Profile Picture

Mouse event not firing

Posted By Darren Woodhouse Last Year
Author
Message
Darren Woodhouse
Posted Last Year
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: 11 Months Ago
Posts: 3, Visits: 34
OnLoad conatins
nChartControl1.KeyPress += OnKeyPress;

and OnKeyPress()

is never invoked!


Tags
Nevron Support
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,034, Visits: 3,710
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