www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+widget/@ClassicTable/setEnable.m
function val = setEnable(obj, val) %SETENABLE Respond to enable being set % % SETENABLE(OBJ, EVT) is called after the object's enable property % has been set. % Copyright 2015 The MathWorks, Inc. and Ford Global Technologies, Inc. setEnable@mbcgui.widget.ScrollTable(obj,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); end