Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8589 > unrolled thread

multiple selection control

Started byaxel <axel.kilian@hs-merseburg.de>
First post2012-02-18 11:27 +0000
Last post2012-02-20 07:45 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  multiple selection control axel <axel.kilian@hs-merseburg.de> - 2012-02-18 11:27 +0000
    Re: multiple selection control Szabolcs Horvát <szhorvat@gmail.com> - 2012-02-20 07:45 +0000

#8589 — multiple selection control

Fromaxel <axel.kilian@hs-merseburg.de>
Date2012-02-18 11:27 +0000
Subjectmultiple selection control
Message-ID<jho1un$5rc$1@smc.vnet.net>
I need a control object which enables the user to chose one or more
items from a list. In pricipal, this can be done using a CheckboxBar.
However, if the list is long this is not convenient, because the
CheckboxBar becomes too large. It would be nice to have something like
a PopupMenu, with an Option "MultipleSelection". How can I get such a
widget?

[toc] | [next] | [standalone]


#8632

FromSzabolcs Horvát <szhorvat@gmail.com>
Date2012-02-20 07:45 +0000
Message-ID<jhstn6$nhf$1@smc.vnet.net>
In reply to#8589
On 2/18/2012 1:27 PM, axel wrote:
> I need a control object which enables the user to chose one or more
> items from a list. In pricipal, this can be done using a CheckboxBar.
> However, if the list is long this is not convenient, because the
> CheckboxBar becomes too large. It would be nice to have something like
> a PopupMenu, with an Option "MultipleSelection". How can I get such a
> widget?
>

How about a fixed-size, scrollable CheckboxBar?

Pane[
  CheckboxBar[Dynamic[x], Range[100], Appearance -> "Vertical"],
  ImageSize -> {All, 100}, Scrollbars -> {False, True},
  AppearanceElements -> None
]

-- 
Szabolcs Horvát
Visit Mathematica.SE:  http://mathematica.stackexchange.com/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web