Skip to Content
0
Former Member
Jun 02, 2014 at 08:02 AM

How to use setText method for multiple selection?

81 Views

Hi all,

I wonder how the setText method can be used for multiple selections?

I have a listbox for customer. The listbox is enabled for multiple selection. I would like to show within the text field in the application all selected values.

I am using following script:

TEXT_FROMCUST.setText(LISTBOX_CUSTOMER.getSelectedText());

This works fine. However, it does not show more than one customer. I am aware that this script does not apply for multiple selection, but what script I have to use for multiple selection?

And while we are on this subject: The selected customers are marked in the listbox. But this marking remains even though the values are being resetted via reset button. Any idea how this marking can be removed?

Thanks for your help.

Regards

Mehtap