Changeset 244 for trunk/src/mouse_down.m
- Timestamp:
- Apr 20, 2011, 12:51:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_down.m
r238 r244 36 36 hcurrentfig=hObject;%usual plot 37 37 end 38 set(hcurrentfig,'Units','pixels') 39 currentfig_pos=get(hcurrentfig,'Position');%position of the GUI series (in pixels) 40 set(hcurrentfig,'Units','normalized') 38 41 hhcurrentfig=guidata(hcurrentfig); 39 42 test_zoom=get(hhcurrentfig.zoom,'Value');%test for zoom action, first priority … … 111 114 break 112 115 elseif isequal(htype,'uicontrol') && isequal(get(hchild(ichild),'Visible'),'on') 113 msgbox(get(hchild(ichild),'String'),get(hchild(ichild),'Tag')) 116 msg_pos(1:2)=currentfig_pos(1:2)+obj_pos(1:2).*currentfig_pos(3:4); 117 msgbox_uvmat(['uicontrol: ' get(hchild(ichild),'Tag')],'',get(hchild(ichild),'String'),msg_pos) 118 %msgbox(get(hchild(ichild),'String'),get(hchild(ichild),'Tag')) 114 119 break 115 120 end
Note: See TracChangeset
for help on using the changeset viewer.