Drag and Drop controls during runtime in Windows App

  • Thread starter Thread starter mattgcon
  • Start date Start date
M

mattgcon

I was curiuos if anyone knew of a way to allow drag and drop
functionality on the actual controls themselves during runtime within a
Windows Application.

I want to allow the user to customize a report by moving textbox
controls and dropdown controls to locations of their liking.
 
I am aware of that proprerty, however after looking at the sample code,
it appear that they were dragging something onto the form, What I am
looking for is moving the actual controls that are on the form around
during run time.
 
I am aware of that proprerty, however after looking at the sample code,
it appear that they were dragging something onto the form, What I am
looking for is moving the actual controls that are on the form around
during run time.

On Mouse down set a flag. On Mouse move, if the flag is set, change the
x,y position. On mouse up, unset the flag.

B.
 
Back
Top