Path: news.mathworks.com!not-for-mail
From: "Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Listbox mousedown problems
Date: Tue, 13 May 2008 14:27:03 +0000 (UTC)
Organization: King's College London
Lines: 14
Message-ID: <g0c8fn$hmo$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>
Reply-To: "Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam>
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 1210688823 18136 172.30.248.38 (13 May 2008 14:27:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 13 May 2008 14:27:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:468153


OK - I think I now see your problem - but I can't help much.

For the findjobj above you may need to dig deeper through 
the hierarchy

K>> ans = findjobj(hListbox);
returns a ScrollPane

K>> get(ans.getViewport(), 'View')

gets you to the 
com.mathworks.hg.peer.ListboxPeer$UicontrolList