Hi,
I have this SwfComboBox whin in SwfList (checkbox + label):
![[Image: uft_swflist_swfcombobox.png]](https://dl.dropboxusercontent.com/u/50056863/uft_swflist_swfcombobox.png)
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):
![[Image: uft_swflist_swfcombobox.png]](https://dl.dropboxusercontent.com/u/50056863/uft_swflist_swfcombobox.png)
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.