Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change the drag icon
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00773407
Message ID:
00774187
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform