Skip navigation
Currently Being Moderated

Drop and down / list box manipulation Options

May 19, 2008 12:51 AM

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
  • Currently Being Moderated
    May 20, 2008 6:34 AM   in reply to (bogdan)
    The scripts in this should help you see how to add/remove items from a listbox.

    http://partners.adobe.com/public/developer/en/livecycle/designer/Drop- DownList.zip
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)