Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I change the drag icon
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00773407
Message ID:
00774187
Views:
31
Thank your for the code Cathy. It was interesting to create my own cursor file and use it. This will come in handy.


>You may change the drag icon in the GiveFeedback event of the source control. This is some sample code:
>
>
>Private Sub TextBox1_GiveFeedback(sender As Object, _
>     e As System.Windows.Forms.GiveFeedbackEventArgs) _
>     Handles TextBox1.GiveFeedback
>   e.UseDefaultCursors = False
>   Me.Cursor = Cursors.Hand
>End Sub
>
>
>>I've used the DragIcon property in VFP and VB6, but cannot find the equivalent in VB.Net. The documentations simply states "No equivalent".
>>
>>Does anyknow how to set the icon do show while dragging an object like a text field in VB.Net? (I'm using drag and drop to move fields and objects on a form)
>>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform