www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmModelSetupView/pPostSetVisible.m

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

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


set([obj.hTolerance1; ...
    obj.hTolerance2; ...
    obj.hTable; ...
    ], 'Visible', obj.Visible);

obj.hToleranceLabel.Visible = obj.Visible;
obj.hTableLabel.Visible = obj.Visible;