www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@MBCToolbar/setPosition.m
function setPosition(obj, posRect) %SETPOSITION Set new position of toolbar % % SETPOSITION(OBJ, POSRECT) updates the toolbar to display in the new % position POSRECT. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if obj.DrawingEnabled obj.NButtonsToRender = obj.pNumberOfButtonsToRender(posRect); end