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

Scroll bar visibility

Dripto
Registered: Jun 20 2007
Posts: 47

I am using Designer 8.0 to build a form that has a text box restricted to a certain size. If more text is entered than the box can allow a scroll bar if "Allow multiple lines" is checked.

I am trying to make the scroll bar visible permanently in a text field. The default setting is to have a black box with a white cross appear at the bottom right of the text field so when the user clicks it, the scroll bar appears. I want the scroll bar to appear as is. How do I do that? I think there is a javascript that enables it but I am not sure if I have the corrent syntax for it. Can someone please help.

almitche
Expert
Registered: Apr 1 2008
Posts: 41
Hi there,

You are right, there is a scripting property called vScrollPolicy that can handle this. The script looks like:

TextField1.resolveNode("ui.#textEdit").vScrollPolicy = "on"; //JavaScript
TextField1.ui.#textEdit.vScrollPolicy = "on" // FormCalc

You can check out the info on the property here in the Help:

Scripting > Scripting Reference > Scripting Properties > vScrollPolicyClick F1 in Designer and then navigate to that topic from there.

This isn't working for me though ;-) But I'm "inside the wall" and using a build of a non-yet-available version of Designer, so I'm hoping that it is just a build issue.

Let me know if this doesn't work for you and I'll investigate.

All the best.