ScrollBar set position

Ask general questions here.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

ScrollBar set position

Post by atom » Tue Feb 17, 2009 9:07 pm

Hiya

The ScrollBar control
It has a property "Value" where you can get the current scroll value
But there is no method to set the scroll value
Is that correct?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Wed Feb 18, 2009 10:47 am

You can also set the Value property of a ScrollBar adapter.

Regards,
Alex
Ranorex Support Team

lucyliu
Posts: 1
Joined: Thu Mar 01, 2012 3:39 pm

Re: ScrollBar set position

Post by lucyliu » Thu Mar 01, 2012 3:42 pm

The set value function didn't work for me.
I used repo.myForm.MyScrollBar.Value = 1000; //This is a value between the min and max value.

But the scroll bar never changed the value when I run the test.

Any idea about it?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: ScrollBar set position

Post by Support Team » Thu Mar 01, 2012 6:57 pm

lucyliu wrote:But the scroll bar never changed the value when I run the test.
As setting the ScrollBar.Value is a technology specific functionality, we need to have some more information on the control. Could you please provide a Ranorex snapshot (see User Guide) or even better a sample application to reproduce that problem with?
Thank you!

Regards,
Alex
Ranorex Team