www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+widget/@ScrollTable/enableScrolling.m

    function enableScrolling( obj )
%ENABLESCROLLING  Turn on the scrolling listeners
% 
%  ENABLESCROLLING(OBJ)

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


obj.ScrollEnabled=true;
% for i=length(obj.scrollTable_ScrollListeners)
%     obj.scrollTable_ScrollListeners(i).Enabled = 1;
% end
% set(obj.scrollTable_ScrollListeners, 'enabled','on');