CimSliders.Item (read-only property)

Gets the slider at a particular index in the collection.
Syntax: Set CimSlider = object.Item ( Index )
Parameters:
Optional Index As long - Specifies the index of the item you desire. It must be a number from 0 to Count - 1.
Description: CimSliders.Item returns the slider at the location specified by the index argument. If the argument is omitted, the first slider is returned.

Example

The following CimView script excerpt returns the second slider:

Dim Slider as CimSlider
Set Slider = cimOleObj.Sliders.Item(1)

Since this is a default property, the previous script can also be written as follows:

Dim Slider as CimSlider
Set Slider = cimOleObj.Sliders(1)