racemadnss
Registered User.
- Local time
- Today, 12:55
- Joined
- May 18, 2004
- Messages
- 58
I am working on this drag and Drop Procedure http://support.microsoft.com/default.aspx?scid=kb;en-us;233274
It says to put this on the mouseOver procedure
So I made it work for me and put this
But it gives me the ByRef argument type mismatch
So I Debug it and It shows the DropCtrl as NULL
how do you get it to pick up what control you are over?
Thanks in advance
btw:
It says to put this on the mouseOver procedure
Code:
Private Sub List1_MouseMove (Button As Integer, Shift As Integer, _
X As Single, Y As Single)
DropDetect Me, Me![List1], Button, Shift, X, Y
End Sub
So I made it work for me and put this
Code:
Private Sub lstMonday2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
DropDetect Me, Me![lstMonday2], Button, Shift, X, Y
End Sub
But it gives me the ByRef argument type mismatch
So I Debug it and It shows the DropCtrl as NULL
how do you get it to pick up what control you are over?
Thanks in advance
btw:
Code:
DropDetect(DropFrm As Form, [B]DropCtrl As Control[/B], _
Button As Integer, Shift As Integer, _
X As Single, Y As Single)