Changeset 617 for trunk/src/uigetfile_uvmat.m
- Timestamp:
- Apr 24, 2013, 2:55:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uigetfile_uvmat.m
r615 r617 199 199 function list_Callback(option,hObject,event) 200 200 %------------------------------------------------------------------------ 201 set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action 201 hfig=get(hObject,'parent');%handle of the fig 202 % if ~strcmp(get(hfig,'SelectionType'),'open') 203 % return %select double click 204 % end 205 set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action 202 206 drawnow 203 207 list=get(hObject,'String'); 204 208 index=get(hObject,'Value'); 205 hfig=get(hObject,'parent');%handle of the fig 209 206 210 htitlebox=findobj(hfig,'tag','titlebox'); % display the new dir name 207 211 DirName=get(htitlebox,'String');
Note: See TracChangeset
for help on using the changeset viewer.