Viscom Software Image Thumbnail CP ActiveX Control

VScroll Method

Description:   

Trigger vertical Scrolling request.

Usage:   

ImageThumbnailCP1.VScroll Parameter1

Return Value:

No return value.

Parameter:

Parameter1 - the specifies scroll bar code. (Data Type: Integer)
0 -Scroll one line up.
1 -Scroll one line down.
2 -Scroll one page up.
3 -Scroll one page down.
6 -Scroll to top.
7 -Scroll to bottom.

 

 

Example:   

This Visual Basic example scroll to bottom after add the image clip:

Private Sub cmdAdd_Click()     

ImageThumbnailCP1.AddClip "c:\test.bmp", "caption"
ImageThumbnailCP1.SelectClip (ImageThumbnailCP1.ClipCount - 1)
ImageThumbnailCP1.VScroll 7

End Sub