Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving object @ runtime
Message
De
03/01/2007 13:17:32
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01181851
Message ID:
01181884
Vues:
9
Yeah, you need to look at drag/drop events. It's a bit complicated, but once you understand it, it's not too bad. At one time I was going to put together some sample code to show how it works ... I started, but I never got around to finishing it. If I get some free time later today, maybe I'll see about doing that.

~~Bonnie


>I have started looking into creating an app where the user can move around objects on the form at runtime. Kind of like the form designer, only I have a relatively small amount of objects to choose from when adding object and later moving them.
>Has anyone else here done something similar to this?
>Any article or book reference would be greatly appreciated.
>
>Currently I am using the MouseUp event to click annd drag the object to a new location but I know I know I need to start looking at a different method of moving the objects.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform