Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: How do I give focus to a figure?
Date: Mon, 29 Oct 2007 05:46:02 +0000 (UTC)
Organization: Australian National Univ
Lines: 11
Message-ID: <fg3s2p$jgd$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1193636762 19981 172.30.248.38 (29 Oct 2007 05:46:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Oct 2007 05:46:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 556764
Xref: news.mathworks.com comp.soft-sys.matlab:434998



Hi, 

in my application I have a large number of buttons and an
axis object in a figure. After each button press I would
like to return focus to the figure, so that key presses are
evaluated by the figure's KeyPressFcn. Is there a way to do
this programmatically?

Thanks, 

Jochen Smolka