12-21-2015, 03:46 PM
Hi,
I have this SwfComboBox whin in SwfList (checkbox + label):
I would unchecked or deselect all items of SfwList.
I try with this code:
But this code generates one error and if combobox is not open GetItem(iterator) not works.
How can I resolve it?
Thanks.
I have this SwfComboBox whin in SwfList (checkbox + label):
I would unchecked or deselect all items of SfwList.
I try with this code:
Code:
listItemCount = SwfWindow("Task List").SwfComboBox("filter_checkedComboBox").Object.Items.Count
For iterator = 0 To listItemCount - 1
itemCurrent = SwfWindow("Task List").SwfWindow("ccbParent").SwfList("cclb").GetItem(iterator)
SwfWindow("Task List").SwfWindow("ccbParent").SwfList("cclb").Deselect(itemCurrent)
Next
But this code generates one error and if combobox is not open GetItem(iterator) not works.
How can I resolve it?
Thanks.