Questions tagged [popup]

16 questions
1
vote
1 answer

Manipulate: How re-initialise the initial value of a dependent PopupMenu driven by another PopupMenu?

Using Manipulate, I would like the items offered in a 2nd PopupMenu to be driven by a 1st PopupMenu. I can get the dynamic driving of the offered items working, but not the initial value of the 2nd PopupMenu when the driving variable from the 1st…
1
vote
0 answers

use of PopupMenu

I have the following code: PopupMenu[Dynamic[choose], {al, bl, cl}] and vin1 = Dynamic[choose] then, I would like to use such value in a conditional expression If: If[vin1==al, 3 x + 2, 6 y] But only vin1 is automatically updated. If doesn't…
Gae P
  • 637
  • 3
  • 11
0
votes
1 answer

PopupMenu in Table

The code PopupMenu[Dynamic@x, {a, b, c}] yields a popup menu, and choosing an item stores its value in x. I'd like to do this (say) three times, in a table, so that the results are stored in three variables called Subscript[x,i], where i is the…
rhomboidRhipper
  • 856
  • 4
  • 7