Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Dropdown List UI Border

Avatar

Former Community Member
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

Avatar

Former Community Member
The dropdown must have a solid box appearance. Then use the command:



DropDownList1.ui.choiceList.border.edge.color.value = "255,0,0";

Avatar

Former Community Member
The whole border changes on mine ....which version of Acrobat are you using and what verion are you targeting.

Avatar

Former Community Member
I am accessing the objects from a function so I am using xfa.resolvenode maybe there is a glitch with it?

Avatar

Former Community Member
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";