Changeset 726 for trunk/src/msgbox_uvmat.m
- Timestamp:
- Mar 1, 2014, 10:46:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msgbox_uvmat.m
r713 r726 62 62 set(handles.Cancel,'Position',[300 2 60 30]) 63 63 set(handles.Cancel,'FontSize',15) 64 % set(hObject,'WindowKeyPressFcn',{'@keyboard_callback',handles})%set keyboard action function64 % set(hObject,'WindowKeyPressFcn',{'keyboard_callback',handles})%set keyboard action function 65 65 66 66 % Update handles structure … … 280 280 end 281 281 282 %'keyboard_callback:' function activated when a key is pressed on the keyboard 283 %----------------------------------- 284 function keyboard_callback(hObject,eventdata,handleshaxes) 285 cur_axes=get(hObject,'CurrentAxes');%current plotting axes of the figure with handle hObject 286 xx=double(get(hObject,'CurrentCharacter')) %get the keyboard character 287 288 289 282 283 284
Note: See TracChangeset
for help on using the changeset viewer.