i tried everything i could find, but no clue how to do it !
function varargout = CST(varargin)gui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @CST_OpeningFcn, ... 'gui_OutputFcn', @CST_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(varargin{1}) gui_State.gui_Callback = str2func(varargin{1});endif nargout [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});else gui_mainfcn(gui_State, varargin{:});end% End initialization code
% --- Executes just before CST is made visible.
function CST_OpeningFcn(hObject, ~, handles, varargin)handles.output = hObject;guidata(hObject, handles);function varargout = CST_OutputFcn(~, ~, handles) varargout{1} = handles.output;function a_Callback(~, ~, ~)function a_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction d_Callback(~, ~, ~)function d_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction N_Callback(~, ~, ~)function N_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction dz_Callback(~, ~, ~)function dz_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction b_Callback(~, ~, ~)function b_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction c_Callback(~, ~, ~)function c_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction e_Callback(~, ~, ~)function e_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');endfunction f_Callback(~, ~, ~)function f_CreateFcn(hObject, ~, ~)if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white');end
Best Answer