Changeset 851 for trunk/src/msgbox_uvmat.m
- Timestamp:
- Jan 19, 2015, 9:29:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msgbox_uvmat.m
r847 r851 8 8 % 9 9 %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 box13 % if title='CONFIMATION'', 'ERROR', 'WARNING','RULER' the figure remains opened until a button 'OK' is pressed14 % 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 requested16 % if title='WAITING...' the figure remains open until the program deletes it10 % 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 17 17 % display: displayed text 18 18 % default_answer: default answer in the edit box (only used with title='INPUT_TXT') … … 108 108 testCancel=0; %no cancel button 109 109 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 110 114 case 'RULER' 111 115 icontype='';
Note: See TracChangeset
for help on using the changeset viewer.