Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


GTP.NET FAQ 10899


I am not finding a description for the event OnTimeItemLink_DoubleClick? Please note that this article refers to the GTP.NET
Jump to article- 2007-05-10 16:44:00 - Email plexityHide

Question

 

I am not finding a description for the event OnTimeItemLink_DoubleClick(). Is there a workaround for this , possibly with OnTimeItemLink_SelectionChanged()?

 

Answer

 

You want to catch a dbl-click on a link?

You are correct we have no such event...

 

The workaround is to catch a normal-double click and see if that click started a mousemove operation that only comes if you click a link:

 

    private void gantt1_OnTimeItemAreaMouseDown(object sender, MouseEventArgs e)
    {
      if (e.Clicks == 2 && gantt1.MouseMoveKind==MouseMoveKind.linkReAssign)
      {
        gantt1.MouseMoveCancel();
        MessageBox.Show("Hey, dbl click on link");
      }
    }

Then we Cancel that started operation and bring up a dialog instead...

 

 

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...