MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: multiple selection control

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125053] Re: multiple selection control
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 20 Feb 2012 02:44:38 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jho1un$5rc$1@smc.vnet.net>

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/



  • Prev by Date: Re: FindRoot with a vector of unknowns
  • Next by Date: Re: Why HoldForm[] shows this expression in red in notebook?
  • Previous by thread: Re: multiple selection control
  • Next by thread: PopupWindow Problem