Mouse event not firing


Author
Message
Darren Woodhouse
Darren Woodhouse
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
Posts: 3, Visits: 45
OnLoad conatins
nChartControl1.KeyPress += OnKeyPress;

and OnKeyPress()

is never invoked!

Tags
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search