ScrollBar.
Scrolls the scroll bar page by page.
bTest = scrollbar.ScrollByPage (iAmount)
Variable | Description |
---|---|
bTest | TRUE if the scroll operation changes the scroll bar’s position. FALSE if the operation does not change the scroll bar’s position. BOOLEAN. |
iAmount | The direction and number of pages to scroll. If positive, scrolling is down or to the right. If negative, scrolling is up or to the left. INTEGER. |
ScrollByPage scrolls a scroll bar iAmount pages by clicking the mouse on the appropriate area between the arrow and the thumb.
iAmount represents the number of times Silk Test Classic should click on the scroll bar page up or down region. iAmount does not necessarily correspond to the internal position or range of the scroll bar, because one click on the page up or down region does not necessarily result in a change of one internal unit. However, if iAmount does change the scroll bar’s position, the method returns TRUE.
[-] While (Open.Files.VScrollBar.ScrollByPage (1)) [ ] i++ [ ] CaptureBitmap ("w{i}.bmp")