These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

scrollbar code vScrollPolicy = "on" is not working

DianaL
Registered: Nov 17 2009
Posts: 80

Hi guys,

I have one important question:

does anyone know why the code TextField1.resolveNode("ui.#textEdit").vScrollPolicy = "on"; doesnt work??

it works for "off" and "auto" but not permanent "on"

I appreciate any help or information!!

Thanks

Diana

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

this property is not neccessary anymore as you can set up a textfield to "allow multiple lines of text" in the field palette already.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

DianaL
Registered: Nov 17 2009
Posts: 80
Hi,

I have a listbox though and I have did allow multiple lines, but even the populated items exceed the visible area the scrollbar dosnt appear except I click on the listbox.

Thanks,

Diana
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Yes, that's correct.
The listbox behaves exactly you described it, but you can't change this.
The properties "hScrollPolicy" and "vScrollPolicy" are only available for text fields not for list boxes.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

DianaL
Registered: Nov 17 2009
Posts: 80
It's a pity, but thank you for this confirmation!!

I have another quick question, concerning a drop down list.

Is it possible to display the entire content of a drop down list? I dont wanna have a scrollbar in the dropdown list. it just one item that i have to scroll down.

I tried to find it out, but unfortunately couldn't.

Thank you in advance!!!

Diana
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
No, the behavior of the dropdown is controlled by the user interface of your system.
You can't change it that way.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs