Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


GTP.NET FAQ 10969


The OnTimeItemAreaMouseWheel is not being called at all when I scroll the wheel over the TimeItemArea? Please note that this article refers to the GTP.NET
Jump to article- 2007-08-15 20:17:00 - Email plexityHide

Question

I am handling the OnTimeItemAreaMouseWheel event. However,  the handler is not being called at all when I scroll the wheel over the TimeItemArea. Do I have to do anything special to activate this event?

 

Answer

 

Some mouse events (the wheel events included) will not fire unless the control has keyboard focus.

 

We will look into a permanent solution but in the mean time add a Focus call in mouse down:

gantt1.OnTimeItemAreaMouseDown += new MouseEventHandler(gantt1_OnTimeItemAreaMouseDown);

void gantt1_OnTimeItemAreaMouseDown(object sender, MouseEventArgs e)
{
  gantt1.TimeItemArea.Focus();
}

 

 

Google
WWW plexityHide GTP.NET FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ general

Testimonials

"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
Gaurav Patole,
WebTechDevelopers
More testimonials...