Create a local variable of the control to set its value. Im assuming you mean position as in dial postion, not the actual object position on the panel.
"mymandarin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am working on a project and i have got the following query. > i have a front panel with lot of objects like knobs,dials,push buttons > etc.. > the entire panel will be the console to the user and as he changes the > various > positions of the objects their values will be written in to a file. > now after a days work when the system is restarted again the > next day > the values of various objects should be read from the file and the > front panel objects should be set in their position according to it > in short the objects(knobs,buttons etc) should both act as o/p > i.e when user interacts with them and they should also act as i/p when > their position will be set from > file. > > how can i achieve this.any help regarding this would be > greatly appreciated