Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Listbox mousedown problems
Date: Sun, 27 Jul 2008 20:12:02 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 17
Message-ID: <g6ikqh$19e$1@fred.mathworks.com>
References: <g09d97$ir0$1@fred.mathworks.com> <g09toa$j63$1@canopus.cc.umanitoba.ca> <g0altk$221$1@fred.mathworks.com> <g0b48v$pu8$1@fred.mathworks.com> <g0b5ef$2k6$1@fred.mathworks.com> <g0bu7i$jkr$1@fred.mathworks.com> <g0c031$c1v$1@fred.mathworks.com> <g0c8fn$hmo$1@fred.mathworks.com> <g0cbqj$fj0$1@fred.mathworks.com> <g0cdf4$jnj$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217189522 1326 172.30.248.37 (27 Jul 2008 20:12:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 27 Jul 2008 20:12:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:482119



"helper " <spamless@nospam.com> wrote in message [snip]

> hListJava = findjobj(hListbox);
> hListJava = get(hListJava.Viewport,'View');

> One problem, however, is that I do not like the way 
> FINDJOBJ "cycles" through all the Java objects to find the 
> object.  It activates and shows all the menu items, and 
> seems to take a long time to find the requested object. 


All you need to do is to do is to add the '-nomenu' option
to findjobj:

hListJava = findjobj(hListbox,'-nomenu');

Yair Altman