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

    function enableListeners(obj)
%ENABLELISTENERS Start registered listeners
%
%  ENABLELISTENERS(OBJ) enables all listeners that have been added to this
%  object using the addListeners or addPropertyListeners methods.

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


set(obj.ComponentListeners, 'Enabled', 'on');