ScrollThumbs Method

Specifies a direction and amount for scrolling.

Applies To

Image Thumbnail control

Syntax

object.ScrollThumbs(Direction, Amount)

Arguments

Parameter

Data Type

Description

Direction

Integer

Specifies the direction of scroll.

A value of 0 (zero) scrolls the control towards the last thumbnail.

A value of 1 scrolls the control towards the first thumbnail.

Amount

Integer

Specifies the amount of scroll desired.

A value of 0 (zero) scrolls in the requested direction by almost a full control screenful. A small amount of original screen area is left to serve as a reference.

The amount scrolled is equivalent to the amount scrolled when you click in the scroll bar (between the up / down arrows and the scroll box).

A value of 1 scrolls the control in the requested direction by a small amount.

The amount scrolled is equivalent to the amount scrolled when you click the scroll bar's up or down arrow box once.


Return Value

Boolean

The return value indicates if the control was scrolled.

Setting

Description


True

The scroll was performed.

False

The scroll was not performed (for example, if the scroll was at either end of its scrolling limit and could not scroll any further).


See Also

ScrollDirection property