Changeset 622 for trunk/src/set_grid.m
- Timestamp:
- Apr 29, 2013, 11:35:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_grid.m
r591 r622 170 170 set(handles.TxtWarning,'visible','on') 171 171 end 172 173 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%174 % --- Executes on button press in delete.175 function delete_Callback(hObject, eventdata, handles)176 177 %SetData=get(gcbf,'UserData');%get the interface data178 %IndexObj=SetData.IndexObj;179 huvmat=findobj('Name','uvmat');%find the current uvmat interface handle180 UvData=get(huvmat,'UserData');%Data associated to the current uvmat interface181 if isfield(UvData,'CurrentObjectIndex')182 IndexObj=UvData.CurrentObjectIndex;183 else184 IndexObj=[];185 end186 delete_object(IndexObj);187 188 172 189 173 % ------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.