Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dropdown List UI Border

Not applicable
How do you change the border color of the dropdown list object?



xfa.resolvenode("Form.Dropdownlist.ui.#choiceList.border.edge.color").value = "123,123,123";



Only the top border changes. How do you change all borders of the dropdown list object?
5 Replies
pguerett
Level 10
Level 10
The dropdown must have a solid box appearance. Then use the command:



DropDownList1.ui.choiceList.border.edge.color.value = "255,0,0";
Not applicable
Only the top edge of the box changes.
pguerett
Level 10
Level 10
The whole border changes on mine ....which version of Acrobat are you using and what verion are you targeting.
Not applicable
I am accessing the objects from a function so I am using xfa.resolvenode maybe there is a glitch with it?
Not applicable
got it..



xfa.resolvenode("Form.Dropdownlist.ui.#choiceList.border.edge.color[0]").value = "123,123,123";

xfa.resolvenode("Form.Dropdownlist.ui.#choiceList.border.edge.color[1]").value = "123,123,123";

xfa.resolvenode("Form.Dropdownlist.ui.#choiceList.border.edge.color[2]").value = "123,123,123";

xfa.resolvenode("Form.Dropdownlist.ui.#choiceList.border.edge.color[3]").value = "123,123,123";