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

HELP!! Scrollbar doesnt appear without clicking on the listbox

DianaL
Registered: Nov 17 2009
Posts: 80

Hi Guys,

I have very important questions and I hope you can help me with that. I use LCD 8.0

1. Is it possible to display a scrollbar in a listbox as soon as the populated items exceed the visible area before clicking on the list box??

Right now, I have to click on the box in order to be able to scroll down. But when i select items from one listbox which is populated in another and I would like to see as soon as the selected items is not visible due to the limited visible area that a scroll bar appear without me clicking on the listbox.

2. Is it possible somehow highlight and set focus on just selected item in a listbox when the visible area has been exceeded?

3. Is it possible to print the entire content of a listbox which has a limited visible area?

4. Is it possible to prevent selection of an already selected item in a listbox?

I appreciate your help in advance!!!

Thanks,

Diana

carriermiller
Registered: Aug 9 2010
Posts: 1
I am looking for the solution to #3 as well. I have tried the expand to fit options after I realized there is no auto size. Please let me know if you figure anything out.

Carrie

DianaL
Registered: Nov 17 2009
Posts: 80
to #3 i found something that i can not use, because it doesnt look good in my form. you can determine how much your listbox appears with this code:

growFactor = ListBox1.length * .15
var oH = xfa.layout.h(ListBox1, "in");
ListBox1.h = oH + growFactor + "in";

and limit this again with

ListBox1.h = oH - growFactor + "in";

For myself i just created two other pages where i created listboxes with a lot of space and have those pages hidden, which will be visible with a print button.

anoying is that the code with vScrollPolicy = "on" doesnt work and i dont know why