… SwfListView("Identifier").ClickItem 0
… SwfListView("Identifier").ClickItem “Item Text 1”
… SwfListView("Identifier").ClickItem “ItemKey1”
This topic provides information about recordable actions for testing the WinCarousel ™ control.
This topic contains the following sections:
Left-button clicking on the identified item.
The following table summarizes the methods parameters followed by code examples where applicable.
The following three lines of code (Separately) will all scroll the item to forefront and click the same carousel item.
In C#:
… SwfListView("Identifier").ClickItem 0
… SwfListView("Identifier").ClickItem “Item Text 1”
… SwfListView("Identifier").ClickItem “ItemKey1”
The following code will click the carousel item, without scrolling it to forefront.
In C#:
… SwfListView("Identifier").ClickItem “ItemKey1”, false
The following list contains the possible exceptions to this method and the likely reason causing them.
The index [{1}] is out of range
The following [{1}] was not found
Selects the identified item.
The following table summarizes the methods parameters followed by code examples where applicable.
The following three lines of code (Separately) will all click the same carousel item to select it.
In C#:
… SwfListView("Identifier").SelectItem 0
… SwfListView("Identifier").SelectItem “Item Text 1”
… SwfListView("Identifier").ClickItem “ItemKey1”
The following code will click the carousel item, adding it to the existing selection.
In C#:
… SwfListView("Identifier").SelectItem “ItemKey1”, true
The following list contains the possible exceptions to this method and the likely reason causing them.
The index [{1}] is out of range
The following [{1}] was not found
Selection is not enabled for the UltraCarousel
Extended Selection is not enabled for the UltraCarousel
Deselects the (selected) identified item.
The following table summarizes the methods parameters followed by code examples where applicable.
The following three lines of code (Separately) will all ctrl + click
the same carousel item to deselect it.
In C#:
… SwfListView("Identifier").DeselectItem 0
… SwfListView("Identifier").DeselectItem “Item Text 1”
… SwfListView("Identifier").DeselectItem “ItemKey1”
The following line of code will ctrl + click
the carousel item, adding it to the existing selection.
In C#:
… SwfListView("Identifier").DeslectItem “ItemKey1”, true
The following list contains the possible exceptions to this method and the likely reason causing them.
The index [{1}] is out of range
The following [{1}] was not found
Selection is not enabled for the UltraCarousel
Selects to the identified item.
The following table summarizes the methods parameters followed by code examples where applicable.
The following three lines of code (Separately) will all Shift + click
the same carousel item to select it.
In C#:
… SwfListView("Identifier").SelectToItem 0
… SwfListView("Identifier").SelectToItem “Item Text 1”
… SwfListView("Identifier").SelectToItem “ItemKey1
The following code will Shift + click
the arousel item, adding it to the existing selection.
In C#:
… SwfListView("Identifier").SelectToItem “ItemKey1”, true
The following list contains the possible exceptions to this method and the likely reason causing them.
The index [{1}] is out of range
The following [{1}] was not found.
Selection is not enabled for the UltraCarousel.
Extended Selection is not enabled for the UltraCarousel
This method scrolls the identified item into view.
The following table summarizes the methods parameters followed by code examples where applicable.
The following list contains the possible exceptions to this method and the likely reason causing them.
The index [{1}] is out of range
The following [{1}] was not found
The following topics provide additional information related to this topic.