Dropdown List UI Border

Avatar

14-01-2009

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?

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

14-01-2009

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



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

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

14-01-2009

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

Avatar

28-01-2009

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

Avatar

28-01-2009

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";