From: Michael on 4 Sep 2009 09:28 Hello, I have created a GUI using Guide. In this GUI is a button group with three radio butttons. What I would like to 1) Disable the uipanel until a file is loaded. or 2) Disable two of the button choices until the file load is complete If statements combined with the set(handles.radiobutton1, 'value',0) in the radio button callbacks could possible accomplish this. However, is there a better way?
From: Nathan on 4 Sep 2009 12:00 On Sep 4, 6:28 am, "Michael" <michael.lisow...(a)gentex.com.extrachar> wrote: > Hello, > > I have created a GUI using Guide. In this GUI is a button group with three radio butttons. What I would like to > 1) Disable the uipanel until a file is loaded. > or > 2) Disable two of the button choices until the file load is complete > > If statements combined with the set(handles.radiobutton1, 'value',0) in the radio button callbacks could possible accomplish this. > > However, is there a better way? How about setting the 'Enable' value to 'off'? Then when files are loaded, reset the 'Enable' value to 'on'. Simple enough? -Nathan
|
Pages: 1 Prev: Asynchronous Function Execution Next: coefficients of b-spline |