Changeset 764 for trunk/src/keyboard_callback.m
- Timestamp:
- May 2, 2014, 2:03:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/keyboard_callback.m
r726 r764 51 51 otherwise 52 52 if ischar(get(gco,'Tag')) 53 switch get(gco,'tag')% tag of the current edit box 54 case {'RootPath', 'SubDir','RootFile','FileExt','RootPath_1', 'SubDir_1','RootFile_1','FileExt_1'} 55 set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (introduce the whole series) 56 case 'num_IndexIncrement'% no action 57 otherwise 58 if isfield(handleshaxes,'REFRESH') 59 set(handleshaxes.REFRESH,'BackgroundColor',[1 0 1])%indicat that run0 must be activated 60 elseif strcmp(get(gco,'Type'),'uicontrol') 61 set(gco,'BackgroundColor',[1 0 1])%indicate that the edition must be validated by carriage return 62 end 63 end 53 switch get(gco,'tag')% tag of the current edit box 54 case {'RootPath', 'SubDir','RootFile','FileExt','RootPath_1', 'SubDir_1','RootFile_1','FileExt_1'} 55 set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (introduce the whole series) 56 case 'num_IndexIncrement'% no action 57 otherwise 58 if isfield(handleshaxes,'REFRESH') 59 set(handleshaxes.REFRESH,'BackgroundColor',[1 0 1])%indicat that run0 must be activated 60 if isfield(handleshaxes,'movie_pair')% stop movie pair in uvmat 61 set(handleshaxes.movie_pair,'value',0); 62 set(handleshaxes.movie_pair,'BusyAction','Cancel')%stop movie pair if button is 'off' 63 set(handleshaxes.i2,'String','')% the second i index display is suppressed 64 set(handleshaxes.j2,'String','')% the second j index display is suppressed 65 set(handleshaxes.Dt_txt,'String','')% the time interval indication is suppressed 66 end 67 elseif strcmp(get(gco,'Type'),'uicontrol') 68 set(gco,'BackgroundColor',[1 0 1])%indicate that the edition must be validated by carriage return 69 end 70 end 64 71 end 65 72 end
Note: See TracChangeset
for help on using the changeset viewer.