on 06-02-2014 9:02 AM
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
Try to use the script below:
DS_1.getFilterText("0CUSTOMER");
This should display more than one value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zahid,
thanks for this.
The script you mentioned is to populate the listbox, isnt it?
What I need is, to fill the text field with the selected customers from the listbox.
The script I am using TEXT_1.setText(LISTBOX_CUSTOMER.getSelectedText());
seems to work for just one customer. It does not work for multiple selection.
Any idea?
Thanks again.
Mehtap
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.