Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How do I give focus to a figure?
Date: Mon, 29 Oct 2007 06:01:41 +0000 (UTC)
Organization: Australian National Univ
Lines: 14
Message-ID: <fg3t05$85b$1@fred.mathworks.com>
References: <fg3s2p$jgd$1@fred.mathworks.com> <fg3sb4$9aa$1@canopus.cc.umanitoba.ca>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1193637701 8363 172.30.248.35 (29 Oct 2007 06:01:41 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Oct 2007 06:01:41 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 556764
Xref: news.mathworks.com comp.soft-sys.matlab:435004


Thanks for your fast reply, 

both the buttons and the axis are in the same figure.
Therefore, unfortunately,  neither 
> set(0,'CurrentFigure',figurenumber)
nor
> figure(figurenumber)
work, because afterwards the focus (and 'CurrentObject') are
still on the recently pressed button.

I'd be grateful for any other ideas, 

Jochen