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

    function pPostSetBackgroundColor(obj, event)
%PPOSTSETBACKGROUNDCOLOR A short description of the function
%
%  PSETBACKGROUNDCOLOR(OBJ, EVENT)

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


% Need to set all the relevant bits to the correct background color
set(obj.PanelHandle, 'BackgroundColor', event.NewValue);
set(obj.TextHandles, 'BackgroundColor', event.NewValue);