PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


GTP.NET FAQ 10192


DateTime from a point on the TimeItemArea which is selected by the mouse ptr? Please note that this article refers to the GTP.NET
Jump to article- 2005-05-21 17:02:00 - Email plexityHide

Question

I would like to get the DateTime from a point on the TimeItemArea which is selected by the mouse ptr. Therefore I implemented the OnTimeItemAreaMouseDown method but how do I get the DateTime from e.X and e.Y?

Answer

You use the Gantt.DateScaler.PixelToTime(int pix) method... If you have a datetime and need the a pixel there is a Gantt.DateScaler.TimeToPixel

 

Google
WWW plexityHide GTP.NET FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ GTP.NET.SL and WPF

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




class="blk">PlexityHide.com
Grastensvagen 24, S-163 45 Spanga Sweden
E-mail: support@plexityhide.com