Inserts a thumb to the collection at the specified index location on the object.
[ lInsertThumb = ] Object.InsertThumb ( vThumb )
The InsertThumb 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. |
lInsertThumb |
Long |
The returned index. |
The index is zero-based. If the index is out of the range, adds the thumb to the end of the collection.
The following example will insert a thumb to an ASlider control before the 1st thumb:
sld1.InsertThumb(0)