From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: repetitive counter (GUI)
Date: Wed, 15 Jul 2009 14:31:04 -0500
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <h3lbbg$kot$1@news.eternal-september.org>
References: <h3g5v9$6ep$1@fred.mathworks.com> <h3g6rd$58f$1@fred.mathworks.com> <h3g7ie$mr4$1@fred.mathworks.com> <h3g8bd$lin$1@news.eternal-september.org> <h3hbh5$ljn$1@fred.mathworks.com> <h3hgfb$96h$1@news.eternal-september.org> <h3i04f$90p$1@fred.mathworks.com> <h3i1jj$r9o$1@news.eternal-september.org> <h3i1oe$q5s$1@fred.mathworks.com> <h3itgh$cs9$1@fred.mathworks.com> <h3j5kc$9je$1@news.eternal-september.org> <h3k0pa$sg9$1@fred.mathworks.com> <h3kom1$itq$1@news.eternal-september.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org U2FsdGVkX18yLvt/yrsHje9VySPgdFmEYbDRHaSRzD0Mwk6Xl+XLaZaOfc3q8SAfnRai8z4ysZhcNOqUoqlRC+Ln5i17c8NWQYHH0s6Ea97za5nzr3SR2at6H3GjX+hEpZxWOpStyhAoVs/UK/+muw==
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Wed, 15 Jul 2009 19:40:33 +0000 (UTC)
In-Reply-To: <h3kom1$itq$1@news.eternal-september.org>
X-Auth-Sender: U2FsdGVkX19diBPD6oyRYD199x6c0aceDX+QKRbCw5M=
Cancel-Lock: sha1:PkO1uKKv0Ewo6LL9Wjm39NNNjCs=
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
Path: news.mathworks.com!newsfeed-00.mathworks.com!oleane.net!oleane!feed.ac-versailles.fr!gegeweb.org!feeder.eternal-september.org!eternal-september.org!not-for-mail
Xref: news.mathworks.com comp.soft-sys.matlab:555764


dpb wrote:
...
> If the real question is there's an additional event generated after you 
> think you have disabled the control, ...

OK, it's obvious; I overlooked it myself though. :(

Walk thru the code line-by-line again for count == 1, 2, ... and trace 
on a line of paper _when_ you actually disable the control.

All should become apparent at that point; there's nothing at all to do 
w/ there being anything going on about the ML GUI controls at all (not 
that I really thought so; only that, as I say, I was looking at the code 
from the wrong standpoint before only concentrating on the "why" of the 
outputs until I realized the underlying question)...

I'll leave it as an "exercise for the student" to come up w/ a fix at 
least initially.... :)

--