panka152
13 years agoContributor
How to control scroll bar movement
Hi,
I am writing VB script for web based application where a tree view folder structure is there and images are stored in it year/month/day hierarchy.
I used for loop to expand the tree structure, it works fine until the scroll bar comes, and when it come it stuck there.
There are functions appears in code completion window I don't know how to use them, nothing is mentioned in test complete help.
Can anyone help in to understand this functions.
1. ScrollintoView()
2. Mousewheel()
I have tried some methods like....scrollbar.keys("[Home]"), scrollbar.keys("[End]"), scrollbar.keys("[Down] [Down]")...it works for few more and then again stuck.
The tree has many folders/ sub folders and around 3000 to 4000 images are there under hierarchy.
I need a method which should gel up with the click event and should control the scroll bar movement simultaneously.
I am writing VB script for web based application where a tree view folder structure is there and images are stored in it year/month/day hierarchy.
I used for loop to expand the tree structure, it works fine until the scroll bar comes, and when it come it stuck there.
There are functions appears in code completion window I don't know how to use them, nothing is mentioned in test complete help.
Can anyone help in to understand this functions.
1. ScrollintoView()
2. Mousewheel()
I have tried some methods like....scrollbar.keys("[Home]"), scrollbar.keys("[End]"), scrollbar.keys("[Down] [Down]")...it works for few more and then again stuck.
The tree has many folders/ sub folders and around 3000 to 4000 images are there under hierarchy.
I need a method which should gel up with the click event and should control the scroll bar movement simultaneously.