Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop Control and Properties
Message
From
24/06/2010 16:45:40
 
 
To
24/06/2010 13:58:17
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01470266
Message ID:
01470489
Views:
30
Bonnie

After a lot of fiddling, I'm coming to the conclusion that Drag/Drop is too restrictive and I'm trending toward using the mousedown and mousemove events, in combination with your picked up control idea,
That shows the whole control wherever I move it.
I'm at the stage of trying to see if the mouse has reached the target panel by checking the mouse coordinates against the panel's location. If it has, I'll add the control to that panel

The DragDrop event of the target is obviously easier, but there seems to be too much other baggage with it so I'll run down this alley for a while.


>>Glad it worked for you, Bill! By the way, if you can figure out how to get the button to actually be displayed when it's being moved around inside the TargetArea Panel, post it here. Maybe I'll have some free time to mess with it myself, but it's not high on my priority list. <g>
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Reply
Map
View

Click here to load this message in the networking platform