Example-VB |
Specifies a direction and amount for scrolling.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Thumbnail control
object.ScrollThumbs(Direction,Amount)
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. |
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). |