| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > #PROMPT Entry Types Alpha Listing >====== FROM (list of symbol values) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[format call listbox formatter .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[icon call icon selection dialog .htm|{{btn_next_n.gif|Next page}}]] | | || **FROM(** //symbol// [, //expression// ] [, //value //]** )** {{blk2blue.jpg|blk2blue.jpg}} | **FROM** | Specifies a drop-down list of values from the //symbol//. | | //symbol// | A multi-valued symbol (built-in or user-defined). | | //expression// | An expression which controls which //symbol// values are displayed. Only //symbol// values where the //expression// is true are displayed in the drop list. | | //value// | The symbol containing the content of the first parameter of the multi-valued symbol. | The **FROM** //type// in a #PROMPT statement indicates the user must select one item from the list contained in the //symbol//. The //expression// can be used to limit the// values// displayed//, //while the //value //defines the display elements. **Example:** **#PROMPT('Select an Event',****FROM****(%ControlEvent)),%WhichEvent** **#PROMPT('Select a Button',****FROM****(%ControlField,%ControlType = 'BUTTON')),%WhichButton** **#PROMPT('Pick a Field',****FROM****(%Control,%ControlUse <;> '',%ControlUse)),%MyButton**