Dropdown menus in an Edit table
What's new in Analytica 4.0? >
You can include dropdown menus in cells of an Edit table, to let end users select an option for each cell in the table. Here is an example, viewed in Browse mode:
You use the Choice() function in the Edit table cells, similar using Choice to specify a single pulldown menu for a variable. Follow these steps:
- . Create a variable X as an Edit table, in the usual way.
- . Create an Index variables K that lists the set of options you want to make available from the menu(s).
- . In edit mode, enter into each cell of X that you want to place a menu:
Choice(K, 1, 0).
You can put a menu in one, some. or all cells. You can also put different menus (use a different K) in different cells.
- . Create an Input node for X: Select X, then select Make Input from the Object menu.
Here is an example viewed in Edit mode. Note that you can put a Choice() function in some but not all cells:
Comments
Enable comment auto-refresher