how to 'remember' control location

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

Hi Guys,

Is there an easy way to save and reload a controls location somehow?

My controls are draggable and I am struggling to find a way to save the
controls 'last' location since the mouse was clocked.
 
If your're using 2005, use the MY.namespace to store the property in the
config file after you completed a move. get the value from the config file
when you start a move. Haven't tried it but I think it would work.
HTH
Bob
 
You're right; he could save them to the Settings.

My.Settings.form1_button1_left or something like that.

You can save them as System.Drawing.Point, which is a
location-type variable.

Robin S.
-----------------------------------
 
Back
Top