Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!l43g2000hsh.googlegroups.com!not-for-mail
From: wapo <apostolos.georgakis@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: GUIDE questions
Date: Wed, 24 Sep 2008 04:46:37 -0700 (PDT)
Organization: http://groups.google.com
Lines: 31
Message-ID: <8bce14ec-88cd-42c2-a3d7-0d24d14d9afd@l43g2000hsh.googlegroups.com>
NNTP-Posting-Host: 194.237.142.6
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1222256798 11673 127.0.0.1 (24 Sep 2008 11:46:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 24 Sep 2008 11:46:38 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l43g2000hsh.googlegroups.com; posting-host=194.237.142.6; 
	posting-account=SyHkJwoAAACOF0yBeFtqbxPFgwOWK3x8
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) 
	Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)
Bytes: 2439
Xref: news.mathworks.com comp.soft-sys.matlab:491762


Hi all,

I have a couple of questions regarding the use of GUIDE to develope
GUIs. Here they go:

1. I have a drop-down menu in a GUI. Selecting something from the menu
will call a script with very heavy computations. While MATLAB is
running the background script the drop-down menu is semi-visible (some
parts of the menu are fussed with the original GUI which is not
aesthetically pleasant). How can I force MATLAB to clear out the GUI
from the junk of the drop menu before initiating the selected script.

I used drawnow but it didn't do anything.

2. How can I align objects using the main GUI figure as a guide. For
example, I have a push button and I want to be 10 pixels from the
borders of the GUI. Or I have a static text box that I want it to be
centered using as guide the left and right vertical borders of the
GUI.

3. (This is probably a BUG) Lets assume that we I have multiple
objects (for example axes) and I want to change their size all at
once. Select all of them and use the property inspector to change, for
example, their width. Some of them will get the new value for width
but not all of them. And not always. Keeping all of them selected and
giving the same width value again for a second time might update some
more objects but again not all. And so on.

Any suggestions?

Thank you in advance