tmahender12
8 years agoFrequent Contributor
Scroll a Panel
how to scroll atached panel using Name mapping. can u please help
- 8 years ago
Simply call object.scrollIntoView(true) right before you interact with whatever object is.
Simply call object.scrollIntoView(true) right before you interact with whatever object is.
First of all, you have capture the navigation pane into your namemapping.
For ex:
you have mapped the navigation pane as ObjectNav then you can use below code scroll up and scroll down
ObjectNav.Position = ObjectNav.Max
ObjectNav.Position = ObjectNav.Min
ObjectNav.Position = ObjectNav.Position + 100
You probably don't need to scroll the panel necessarily. If you want to access a particular object that is currently scrolled out of view, call "scrollIntoView" on that object and that should bring it into view for being able to operate.