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


Groups > comp.soft-sys.math.mathematica > #8632

Re: multiple selection control

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: multiple selection control
Date 2012-02-20 07:45 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhstn6$nhf$1@smc.vnet.net> (permalink)
References <jho1un$5rc$1@smc.vnet.net>

Show all headers | View raw


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/

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web