User Tools

Site Tools


jwlua:uservalueinput

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jwlua:uservalueinput [2014/02/10 00:12]
jariw [SetLists()]
jwlua:uservalueinput [2015/04/28 10:25]
jariw [SetInitValues()]
Line 101: Line 101:
 Example: Example:
 <code lua>​local dialog = finenv.UserValueInput() <code lua>​local dialog = finenv.UserValueInput()
-dialog.SetTypes("​String",​ "​Boolean"​) +dialog:SetTypes("​String",​ "​Boolean"​) 
-dialog.SetInitValues("​Oboe",​ true)</​code>​+dialog:SetInitValues("​Oboe",​ true)</​code>​
  
 If a **list** (through ''​SetLists()''​) is connected with a input field and init value isn't found in the list, the topmost item in the list will be selected. If a **list** (through ''​SetLists()''​) is connected with a input field and init value isn't found in the list, the topmost item in the list will be selected.
Line 118: Line 118:
 | ''"​Boolean"''​ | A popup with a ''​true''​ and ''​false''​ string. The first string will represent the ''​true''​ state, the second string will represent the ''​false''​ state. More strings than 2 will result in an error. | Boolean | | ''"​Boolean"''​ | A popup with a ''​true''​ and ''​false''​ string. The first string will represent the ''​true''​ state, the second string will represent the ''​false''​ state. More strings than 2 will result in an error. | Boolean |
 | ''"​Measurement"''​ | A popup that will contain the EVPU values displayed in the user's preferred measurement unit. | Number | | ''"​Measurement"''​ | A popup that will contain the EVPU values displayed in the user's preferred measurement unit. | Number |
-| ''"​Set"''​ | A list with a checkbox at each string. | Table |+(FUTURE_VERSION) ​''"​Set"''​ | A list with a checkbox at each string. | Table |
 | ''"​NumberList"''​ | A popup that will contain the strings. | 1-based item number. | | ''"​NumberList"''​ | A popup that will contain the strings. | 1-based item number. |
  
jwlua/uservalueinput.txt · Last modified: 2015/04/28 10:25 by jariw