Prev: Signal processing
Next: how to do SYMBOLIC OPTIMIZATION
From: NIMIT SHAH on 22 Feb 2010 10:14 Can any one help me I want to change the default colour of the menu bar appering in GUI? I have tried every thing but it is not working
From: ImageAnalyst on 22 Feb 2010 10:25 On Feb 22, 10:14 am, "NIMIT SHAH" <shahnimit...(a)gmail.com> wrote: > Can any one help me I want to change the default colour of the menu bar appering in > GUI? I have tried every thing but it is not working ---------------------------------------------------- I think that's an operating system setting rather than a MATLAB/GUIDE setting. Like the "Control panel/Display Properties/ Appearance" tab in Windows XP. But if anyone knows a way to do it in MATLAB, it would probably be Yair: http://undocumentedmatlab.com/ P.S. Don't use non-descriptive subject lines like "Need help urgent?" EVERYONE who starts a thread here needs help, so we need help figuring out what the thread is about since most people don't have time to open every single thread, and want to go to only those with a relevant subject line.
From: Walter Roberson on 22 Feb 2010 14:47 NIMIT SHAH wrote: > Can any one help me I want to change the default colour of the menu bar > appering in GUI? I have tried every thing but it is not working There isn't a control for that at the Matlab level. However, newbgcolor = 'red'; %or '#07039F' or whatever color spec figmenus = findall(FigureNumber,'-depth',1,'Type','uimenu'); for thismenu = figmenus thislabel = get(thismenu,'Label'); set(thismenu, 'Label', ... sprintf('<HTML><BODY bgcolor="%s">%s</BODY></HTML>', ... newbgcolor, thislabel(thislabel <> '&'))) end for the appropriate FigureNumber There is a small side effect, though: the accelerators for the menu items will be lost.
|
Pages: 1 Prev: Signal processing Next: how to do SYMBOLIC OPTIMIZATION |