Dropdown menus in an Edit table

Revision as of 00:07, 14 February 2007 by Max (talk | contribs) (Created a new page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

Edit table with menus.png

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:

  1. . Create a variable X as an Edit table, in the usual way.
  2. . Create an Index variables K that lists the set of options you want to make available from the menu(s).
  3. . 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.

  1. . 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:

Edit table with menus edit mode.png
Comments


You are not allowed to post comments.