Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Acrobat 中的组合框不允许文本对齐或多行。所以我需要能够从下拉框中进行选择,并且我的选择会填充两个文本框。
“下拉框”是一个组合框。案例您实际上指的是一个列表框:
使用以下方法获取选定的索引:
var a = this.getField("listbox").currentValueIndices;
通过调用检索索引的值:
this.getField("listbox").getItemAt(index, false);
设置文本字段的值:
this.getField("textField").value = "new value".