本帖最后由 牛小贱 于 2014-3-27 18:49 编辑
- clf reset
- set(gcf,'unit','normalized','position',[0.1,0.4,0.45,0.35]);
- set(gcf,'defaultuicontrolunits','normalized');
- set(gcf,'defaultuicontrolfontsize',11);
- set(gcf,'defaultuicontrolfontname','隶书');
- set(gcf,'defaultuicontrolhorizontal','left');
- set(gcf,'menubar','none');
- str='设计的界面';
- set(gcf,'name',str,'numbertitle','off');
- hpop=uicontrol(gcf,'style','popup','position',[0.7,0.73,0.18,0.12], 'string','a|b|c|d')
复制代码 然后我想让点a后背景变红色b变绿应该怎么编
[ 本帖最后由 suffer 于 2006-10-11 09:18 编辑 ] |