Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


phGantTimePackage FAQ 10578


Time from x-coord Please note that this article refers to the phGantTimePackage
Jump to article- 2006-05-29 20:35:00 - Email plexityHide

Question

Hi I'd like to ask, how to get the Datetime value from a row by having the X coordonate?

I need to implement Drag&Drop from a control to the phGantt(COM version under VB6) and the only one way I found is to use DragOver and DragDrop events. By having the Y value I found the needed row and tree item, how can I find the datetime value where something was droped from that line?

Answer

Once you have the correct x coordinate for the date scaler (you may or may not need to compensate for the grid width etc based on what you are doing ) you send this in to the function IphGantX3.PixelToDate(x:int):TDatetime

 

Google
WWW plexityHide phGantTimePackage 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...