Re: MenuView inside Manipulate

*To*: mathgroup at smc.vnet.net*Subject*: [mg88405] Re: [mg88387] MenuView inside Manipulate*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Mon, 5 May 2008 06:08:51 -0400 (EDT)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <200805031019.GAA04169@smc.vnet.net>*Reply-to*: murray at math.umass.edu

I'm seeing no such difference in behavior between the two results: the rectangle remains visible in the result of (2) when I click the drop-down selector's arrow and then click 2, or when I click again and select 1. This is with Mathematica 6.0.2 under Windows XP. dkr 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 > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305

**References**:**MenuView inside Manipulate***From:*dkr <dkrjeg@gmail.com>