From: ImageAnalyst on 13 May 2010 20:40 Why don't you just write a function called function handles = ResetGUI(handles) % Code to reset various controls to known states % For example set scrollbar values to known initial values. return; % from ResetGUI() and put all your code in there to reset whatever you want to reset. Then just call ResetGUI from your opening function, or whatever other function you want to call it from. Call it whenever and wherever you like.
From: Philip on 13 May 2010 20:56 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <54180260-bfc3-47f4-8364-59a841c73bfd(a)p2g2000yqh.googlegroups.com>... > Why don't you just write a function called > > function handles = ResetGUI(handles) > % Code to reset various controls to known states > % For example set scrollbar values to known initial values. > return; % from ResetGUI() > > and put all your code in there to reset whatever you want to reset. > > Then just call ResetGUI from your opening function, or whatever other > function you want to call it from. Call it whenever and wherever you > like. not a bad idea, problem is I have a lot of different handles reset, which cannot be done unless i set them all up as the output of the bunch.
First
|
Prev
|
Pages: 1 2 Prev: Spectral Flatness Measure (SFM) Next: Help plotting and graphing yield strees vs strain rate |