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

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

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


obj.super('pPostSetEnable', val);

set([obj.hSliderbar;obj.vSliderbar], 'Enable', obj.Enable);
set(obj.TopLeftCorner, 'Enable', obj.Enable);
set(obj.TopRightCorner, 'Enable', obj.Enable);
set(obj.BottomLeftCorner, 'Enable', obj.Enable);
set(obj.BottomRightCorner, 'Enable', obj.Enable);
set(obj.EmptyTableComponent, 'Enable', obj.Enable);