MathGroup Archive 2008

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

Search the Archive

MenuView inside Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88387] MenuView inside Manipulate
  • From: dkr <dkrjeg at gmail.com>
  • Date: Sat, 3 May 2008 06:19:23 -0400 (EDT)

(1)  Grid[{{MenuView[{1,2}],Graphics[Rectangle[{0,0}]]}}]

(2)  Manipulate[
 Grid[{{MenuView[{1, 2}],
    Graphics[Rectangle[{0, 0}]]}}], {item, {0}}, ControlType -> None]

(1) is a simple grid, and (2) simply embeds this grid in a "dummy"
Manipulate (i.e., the control variable does not enter the first arg of
the Manipulate, and the control is not explicitly displayed).  When
one clicks on the popup menu in (1), the rectangle remains visible.
However, in (2), when one clicks on the popup menu, the rectangle
disappears, and only reappears when the mouse button is released.  Is
this a bug?  Does anyone know how one can keep the rectangle visible
in (2) when one clicks on the popup menu.  (If TabView is substituted
for MenuView, the rectangle remains visible in both cases when a tab
is clicked.)

dkr


  • Prev by Date: Re: Looping in Mathematica Packages.m
  • Next by Date: Re: list of dates
  • Previous by thread: Re: Re: Getting the size of the bounding box of a Graphics3D[]
  • Next by thread: Re: MenuView inside Manipulate