elquixiote
Technical User
I have already solved a similar problem but instead a treeview control I had list control.
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim dy As Integer
dy = TextHeight("A")
Label5.Caption = List1.ListIndex & " " & List1.Text
Label5.Move List1.Left, List1.Top + Y + dy, List1.Width, dy
Label5.Drag
End Sub
My problem now with the treeview control is that the event nodeclick doesnt fire when the mouse down. What can I do?
El quijote ...
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim dy As Integer
dy = TextHeight("A")
Label5.Caption = List1.ListIndex & " " & List1.Text
Label5.Move List1.Left, List1.Top + Y + dy, List1.Width, dy
Label5.Drag
End Sub
My problem now with the treeview control is that the event nodeclick doesnt fire when the mouse down. What can I do?
El quijote ...