Hi guys,
I have another question.
I have a listbox and want to select by pushing a button all populated items in the list.
this is my code.
it doesnt work, could anyone tell me what is wrong??
and second question. Is it possible deselect single items, when all are selected?
var temp1 = "";
for (i=0;i< PAGE3.ListBox1.length.rawValue;i++){
temp1 = temp1 + ListBox1.getDisplayItem(i) + "\n";
}
ListBox1.rawValue = temp1
I appreciate your help!!!
Thanks,
Diana
object.length property provides number so no need to use rawValue property.
also, it should be better if you use getSaveItem method i/o getDisplayItem method since stored value in ListBox.rawValue would be data not displayed value.
second question about deselecting one, it can be done by clicking with ctrl button held down.