www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmTableSetupView/pPostSetPosition.m
function val = pPostSetPosition(obj, val) %PPOSTSETPOSITION Respond to position being set % % PPOSTSETPOSITION(OBJ, EVT) is called after the object's position % property has been set. % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. cellpos = obj.hGrid.getPositions(obj.Position); objcells = [1; 3; 5; 7; 9; 11; 13; 17; 34]; set([ ... obj.hAxisLabel1; ... obj.hAxisLabel2; ... obj.hNumTablesLabel; ... obj.hDividerLine; ... obj.hBPgenLabel; ... obj.hTableSize2; ... obj.hTableSize1; ... obj.hNormTable1; ... obj.hNormTable2; ... ], ... {'Position'}, cellpos(objcells)); obj.hNormLabel1.Position = cellpos{15}; obj.hNormLabel2.Position = cellpos{32};