Skip to content
Matthias Görges edited this page Jul 14, 2016 · 4 revisions

The uiform dropdown element shows drowdown menu selector.

Parameter Default Description
id #f Variable to store selected string in
location 'db Dropdown variable storage location
text "Choose one" Label string
size normal Label size (normal, small, big)
entries #f List of string entries

Example

Example 1: A complete page definition with a dropdown menu, shortened from LNhealth's apps/WidgetDemo

(ex_dropdowns
  "Dropdown Lists"
  ("Prev" ex_checklists #f)
  ("Next" ex_images #f)
  (spacer)
  (label text "Click to select:" align center)
  (spacer)
  (dropdown text "No selection made" id dummy_dd entries ("Element 1" "Element 2" "Element 3"))
)
Clone this wiki locally