Re: MenuView inside Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg88416] Re: MenuView inside Manipulate
- From: dkr <dkrjeg at gmail.com>
- Date: Mon, 5 May 2008 06:10:50 -0400 (EDT)
- References: <fvhe6r$41r$1@smc.vnet.net>
On May 3, 6:19 am, dkr <dkr... at gmail.com> wrote: > (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 I forgot to note that this behaviour was obtained in Mathematica 6.0.1 under Mac OSX 10.5.2 (and also when running (2) in Player 6.0.2) dkr