www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@scrollTable/pPostSetParent.m

    function val = pPostSetParent(obj, val)
%PPOSTSETPARENT Respond to parent being set
%
%  PPOSTSETPARENT(OBJ, EVT) is called after the object's parent property
%  has been set.

%  Copyright 2006-2010 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.super('pPostSetParent', val);

set(obj.RowHeaderObjects,'Parent',obj.Parent);
set(obj.ColumnHeaderObjects,'Parent',obj.Parent);
set(obj.MainObjects,'Parent',obj.Parent);
set(obj.rowObjectCache,'Parent',obj.Parent);
set(obj.colObjectCache,'Parent',obj.Parent);
set(obj.mainObjectCache,'Parent',obj.Parent);