Ignore:
Timestamp:
Jan 19, 2015, 9:29:28 PM (9 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msgbox_uvmat.m

    r847 r851  
    88%
    99%INPUT:
    10 % title: string indicating the type of message box:
    11 %          title= 'INPUT_TXT','INPUT_Y-N','INPUT_MENU','ERROR', 'WARNING','CONFIMATION','WAITING...',default = 'INPUT_TXT' (the title is displayed in the upper bar of the fig).
    12 %          if title='INPUT_TXT', input data is asked in an edit box
    13 %          if title='CONFIMATION'', 'ERROR', 'WARNING','RULER' the figure remains  opened until a button 'OK' is pressed
    14 %             title='RULER' is used for display of length and angle from the ruler tool.
    15 %          if title='INPUT_Y-N', an answer Yes/No is requested
    16 %          if title='WAITING...' the figure remains open until the program deletes it
     10% title: string indicating the type of message box (the title is displayed in the upper bar of the fig):
     11%                ='INPUT_TXT'(default), input data is asked in an edit box
     12%                ='CONFIMATION'', 'ERROR', 'WARNING','RULER' the figure remains  opened until a button 'OK' is pressed
     13%                ='RULER' is used for display of length and angle from the ruler tool.
     14%                ='INPUT_Y-N', an answer Yes/No is requested
     15%                ='INPUT_Y-N-Cancel'
     16%                ='WAITING...' the figure remains open until the program deletes it
    1717% display: displayed text
    1818% default_answer: default answer in the edit box (only used with title='INPUT_TXT')
     
    108108            testCancel=0; %no cancel button
    109109            testNo=1; % button No activated
     110        case 'INPUT_Y-N-Cancel'
     111            icontype='quest';
     112            testCancel=1; % cancel button introduced
     113            testNo=1; % button No activated
    110114        case 'RULER'
    111115            icontype='';
Note: See TracChangeset for help on using the changeset viewer.