Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag&drop between objects
Message
 
À
16/01/2004 14:12:07
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00867409
Message ID:
00868032
Vues:
21
Thanks Bonnie,
It works. What I don't understand (I mean: if I really do something wrong or it's VS that work in a such way) is that sometimes it's seems that the code IS there, but it doesn't fire.
It's happened when I moved controls on a form, for example moving a button from the form itself into a panel o a tabcontrol make the button click event's code not fire.
Franco

>Franco,
>
>I'm not sure if a PictureBox has an ItemDrag event (I'm more used to dragging to/from TreeViews and ListViews) ... but in any case, somewhere you need to fire the DoDragDrop() method ... that's the only piece that you're missing I think. I do it from the ItemDrag eventhandler ... there should be something comparable for the PictureBox, or (since I don't see anything obvious there), you could probably fire a DoDragDrop() method from the DragEnter eventhandler.
>
>~~Bonnie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform