HeavenCore
Well-known member
HI, i have a collection of panels with different background colors, i need to make it so when a panel is dragged onto the grid the cell its dropped on changes to the same colour as the background of the dragged panel. I have the following code on my panel:
but when it comes to the dragEnter and dragDrop on datagrid view i dont know where to start, Any help would be great!
Regards
HC
VB.NET:
Private Sub Panel3_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel3.MouseDown
StartDragTask = 8
Panel3.DoDragDrop(Panel3.BackColor, DragDropEffects.Copy)
End Sub
but when it comes to the dragEnter and dragDrop on datagrid view i dont know where to start, Any help would be great!
Regards
HC