Highlighted

Drop and down / list box manipulation Options

Avatar

Guest

19-05-2008

Hello!



I need help, if possible, with a problem:



a) I have a drop and down list and a list box which is display the

selections from the drop and down list.



listbox1.addItem(xfa.event.newText);



I need to be able to remove from the drop and down list at the same

time the selections added to listbox1. If I select "item 1" in drop

and down list and it goes to Listbox1 I need to remove it from drop

and down to avoid being selected twice.



Beside that I need to know if there's a method to actually increase

dynamically the size (height) of the listbox1 based on the number of

items added to it. I don't want to use scrollbars because the form

will be printed and all items selected should be visible.

Replies