RemoveThumb Method (ASlider)

Removes a thumb from the collection of the object.

Syntax

Object.RemoveThumb ( vThumb )

The RemoveThumb method syntax has the following parts:

 

Name

Type

Description

Object

ASlider

ASlider control

vThumb

Val Variant

An integer specifying the index of the thumb on the object.

Comments

The index is zero-based.

Example

The following example will remove the third thumb from an ASlider control:

sld1.RemoveThumb(2)

Applies to

ASlider

See Also

InsertThumb, ThumbCount