Ignore:
Timestamp:
Mar 1, 2014, 10:46:51 AM (10 years ago)
Author:
sommeria
Message:

various improvements for interactive use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/keyboard_callback.m

    r713 r726  
    5050            uvmat('runmin_Callback',hObject,eventdata,handleshaxes)
    5151        otherwise
     52            if ischar(get(gco,'Tag'))
    5253            switch get(gco,'tag')% tag of the current edit box
    5354                case {'RootPath', 'SubDir','RootFile','FileExt','RootPath_1', 'SubDir_1','RootFile_1','FileExt_1'}
    54                     set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (intyroduce the whole series)
     55                    set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (introduce the whole series)
    5556                case 'num_IndexIncrement'% no action
    5657                otherwise
     58                    if isfield(handleshaxes,'REFRESH')
    5759                    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
    5864            end
    5965    end
Note: See TracChangeset for help on using the changeset viewer.