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
jwlua:uservalueinput [2014/02/10 00:12]
jariw [SetLists()]
jwlua:uservalueinput [2015/04/28 10:25] (current)
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.
jwlua/uservalueinput.txt · Last modified: 2015/04/28 10:25 by jariw