10547 : Change the cursor during a move operation dependent on the row under the TimeItem?

Question

Is it possible to change the cursor during a move operation dependent on the row under the TimeItem?

Answer

Sure,

Implement OnTimeItemAreaMouseMove,

check if the Gantt.MouseMoveKind==MouseMoveKind.move,

check what row you are over ; Gantt.GanttRowFromPoint

And when you have decided on an appropriate cursor, change it: Gantt.Cursor=myNewCursor

 

Leave a Reply