Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to design multiselectable lists
Date: Thu, 4 Sep 2008 12:58:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 43
Message-ID: <g9om0p$pjm$1@fred.mathworks.com>
References: <g9o80m$8c4$1@fred.mathworks.com> <5eeb36ef-710a-4c8b-b25e-2b49631e11e9@x16g2000prn.googlegroups.com> <g9okcd$831$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 1220533081 26230 172.30.248.37 (4 Sep 2008 12:58:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 4 Sep 2008 12:58:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 791003
Xref: news.mathworks.com comp.soft-sys.matlab:488568



"No Spam" <news@sogetthis.com> wrote in message <g9okcd$831
$1@fred.mathworks.com>...
> heiko_marx@hotmail.com wrote in message
> <5eeb36ef-710a-4c8b-b25e-
2b49631e11e9@x16g2000prn.googlegroups.com>...
> 
> 
> > I wonder how multi-selectable popupmenus would be 
used. 
> 
> Well, not that I think this would be feasible in Matlab, 
but:
> 
> - click on the first line or dropdwon button to open the 
popup
> - ctrl-click at an entry -> entry gets selected, but 
menue
> does not close (opposed to normal-click, which selects 
the
> one entry and closes the menue immediately)
> - ctrl-click on other entrys
> - to close, click on the first line, dropdown-button or 
any
> other UI element except the list entrys.
> - closed menue shows one (first?) selected entry 
and '...'
> to show that multiple lines are selected
> 
> I probably will do a mixed variant. Using dynamically
> populated dropdown menues for my items and an add button 
to
> collect them in a listbox. This involves more clicks to 
get
> a 'collection' of items, but it's the only way I can 
think
> of at the moment. 

you might be able to use a multi-select listbox and 
dynamically resize it based on mouse over events or 
something funky like that... when the mouse moves over it 
make it bigger, when the mouse moves out shrink it back to 
normal?  just an idea, haven't actually tried this one but 
would be interested in what you come up with.