Hi,
Something I would suggest looking at:
Set the DragMode property for the controls that you wish to allow movement to 1 (Automatic).
In the DragDrop method for the form, you can put code to re-postion the oSource parameter which is the object being dropped.
I am not sure how to get the position of the mouse pointer on the object that is being dragged. If you can get that, then you can use the Left and Top properties to position the control exactly where it was dropped the way you would expect (using an offset of where on the user actually clicked). The way I just quickly did this now, I was re-positioning the dragged object's position with the Top-Left corner ending-up where the mouse was released. This isn't too pretty unless you click the top left of the control before dragging. Is this making sense?
Once you have the mechanics of moving the controls around, you then probably want to save the settings. I know I would probably do this with a table with a key on the form name, control name and storing the Top and Left values. But there are probably many ways.
Let me know how things go.
Joe
>Hi everybody
>
>I need to create a form which allows the end user (maybe just the system administrator) to arrange its controls for other user to work.
>
>I’ll appreciate any kind of help or advise.
>
>Oscar Corte
Joseph C. Kempel
Systems Analyst/Programmer
JNC