Hi
I am using Version 2010, The problem is I want to drag a item on timelineview but try the code
TimelineView.OwnerFromPoint(MousePosition).Name
on drag drop event, It gives me the two down owner name
Also can any body tell me how to override the method of edit Appointments which fire on double click of any Appointments
Thanks for reading
I am done with drag & drop
Thank you for your help!
Hi Atif,
Were you able to implement the drag and drop functionality with the updated logic or do you have any questions with this matter?
NehaDeveloper Support EngineerInfragisticswww.infragistics.com/support
You need to change the DragDrop function of WinTimeLineView control as follows:
Private Sub ultraTimelineView1_DragDrop(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles ultraTimelineView1.DragDrop Dim owner As String owner = ultraTimelineView1.OwnerFromPoint(ultraTimelineView1.PointToClient(Control.MousePosition)).Key MessageBox.Show("Textbox drop on: " & owner & vbNewLine & "Which is wrong I want to get the owner which is on right left side i.e. (Andrew,Bob, Chris etc)")End Sub
Please note that in the function, instead of Me.PointToClient(Control.MousePosition)).Key, you are using ultraTimelineView1.PointToClient(Control.MousePosition)).Key.
Let me know if you have any questions with this matter.
Sorry I could not understand. Can you give me one line example please. I will really appreciate
I am using PoinToClient on the DragDrop Event of Timelineview
Thanks
You are calling PointToClient on the form, you have to call it on the control receiving the drag (UltraTimelineView)