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
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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