www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@abstractcomponent/pSetParent.m
function f = pSetParent(obj, f) %PSETPARENT Perform parent-setting operations % % F = PSETPARENT(OBJ, F) is called during the setting of the parent % property. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. % Overload this method to carry out any special processing during a call that % sets the Parent object for a derived object if ~isempty(obj.Parent) error(message('mbc:mbcwidgets:abstractcomponent:InvalidPropertyValue')); end