Ignore:
Timestamp:
Jul 11, 2024, 4:13:03 PM (3 months ago)
Author:
sommeria
Message:

filter_time added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msgbox_uvmat.m

    r1127 r1157  
    1010% title: string indicating the type of message box (the title is displayed in the upper bar of the fig):
    1111%                ='INPUT_TXT'(default), input data is asked in an edit box
     12%                = 'INPUT_MENU', input data must be selected from  a menu choice
    1213%                ='CONFIMATION'', 'ERROR', 'WARNING','RULER' the figure remains  opened until a button 'OK' is pressed
    1314%                ='RULER' is used for display of length and angle from the ruler tool.
     
    1617%                ='WAITING...' the figure remains open until the program deletes it
    1718% display: displayed text
    18 % default_answer: default answer in the edit box (only used with title='INPUT_TXT')
     19% default_answer: default answer in the edit box (only used with title='INPUT_TXT' or 'INPUT_MENU')
    1920
    2021%=======================================================================
     
    6970set(handles.figure1,'Units','pixels')
    7071FigPos=[100 150 500 50];%default position
     72if strcmp(title,'INPUT_MENU')
     73    FigPos=[100 150 500 200];%default position
     74end
    7175if exist('Position','var') && numel(Position)>=2
    7276    FigPos(1)=Position(1);
     
    164168    set(handles.edit_box, 'Visible', 'on');
    165169    set(handles.edit_box,'String', default_answer)
     170    set(handles.edit_box,'Max',2);% allows for multiple selection
    166171else
    167172    set(handles.text1, 'Position', [0.15 0.3 0.85 0.7]);
Note: See TracChangeset for help on using the changeset viewer.