Created
December 20, 2017 10:49
-
-
Save bjoerntx/6cd37d5a16cfffb0bc2caabf7f7efe43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var comboBox = new TXTextControl.ApplicationField(); | |
comboBox.typeName = "FORMDROPDOWN"; | |
comboBox.parameters = ["w:name w:val=\"Dropdown1\"", | |
"w:enabled w:val=\"true\"", | |
"w:calcOnExit w:val=\"false\"", | |
"w:listEntry w:val=\"Test1\"", | |
"w:listEntry w:val=\"Test2\""]; | |
comboBox.text = "ComboBox"; | |
comboBox.editable = false; | |
comboBox.doubledInputPosition = true; | |
TXTextControl.addTextField(comboBox); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment