5thcav
asked on
get mouse_over on PBox while Dragging label onto PBox
DragLeave DragEnter DragDrop DragOver CursorChanged GotFocus
Nothing works while dragging... i also have PictureBox1.AllowDrop = True
i need to control the event b4 the user does a mouse up on the label....
basically i need to make sure the 20,20 label is on the pbox b4 releasing
the image in the label is the same as the cursor, when a use click and drags the label/image i set label visible false and change the cursor to that image
when the user does a mouse_up over the Pbox i swap the cursor with the label/image.
Thanks
Nothing works while dragging... i also have PictureBox1.AllowDrop = True
i need to control the event b4 the user does a mouse up on the label....
basically i need to make sure the 20,20 label is on the pbox b4 releasing
the image in the label is the same as the cursor, when a use click and drags the label/image i set label visible false and change the cursor to that image
when the user does a mouse_up over the Pbox i swap the cursor with the label/image.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i wasnt ready to post my last message :)
I removed my label array (i only have 4 labels) thought maybe it was my custom events, but it wasnt
I removed my label array (i only have 4 labels) thought maybe it was my custom events, but it wasnt
ASKER
if i can get my Cursor.Clip working i should be all set.. it seems to be thinking my picturebox is somewhere else
ASKER
Me.Cursor = New Cursor(Cursor.Current.Hand le)
Cursor.Position = New Point(PictureBox1.Location .X - 10, PictureBox1.Location.Y - 10)
Cursor.Clip = New Rectangle(PictureBox1.Loca tion, PictureBox1.Size)
this should work but does not
Cursor.Position = New Point(PictureBox1.Location
Cursor.Clip = New Rectangle(PictureBox1.Loca
this should work but does not
ASKER
Cursor.Clip = PictureBox1.RectangleToScr een(Pictur eBox1.Clie ntRectangl e)
this worked,, im all set,,, thanks
this worked,, im all set,,, thanks
ASKER
if i simply drag a label and use Cursor.Clip = Me.RectangleToScreen(New Rectangle(PictureBox1.Loca