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:
00773432
Vues:
21
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
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform