06-03-2016, 06:24 PM
Hi,
in my application, I have a WpfObject obejct.
I would check if vertical or horizontal scrollbars are visibile.
With Spy, I checked that:
- ComputedHorizontalScrollBarVisibility = {Collapsed}
- ComputedVerticalScrollBarVisibility = {Visible}
How can I get this value?
I tried with:
but it returns an object, how can I get the value?
In the native methods, I found:
GetHorizontalScrollBarVisibility (element)
GetVerticalScrollBarVisibility (element)
but, what should I write on (element)?
Thanks.
in my application, I have a WpfObject obejct.
I would check if vertical or horizontal scrollbars are visibile.
With Spy, I checked that:
- ComputedHorizontalScrollBarVisibility = {Collapsed}
- ComputedVerticalScrollBarVisibility = {Visible}
How can I get this value?
I tried with:
Code:
WpfWindows("myapp).wpfObject("myobject").Object.ComputedHorizontalScrollBarVisibility
but it returns an object, how can I get the value?
In the native methods, I found:
GetHorizontalScrollBarVisibility (element)
GetVerticalScrollBarVisibility (element)
but, what should I write on (element)?
Thanks.