How to change ScrollView property runtime?

I set the option

verticalScrollDisabled = false

when I call

myScrollView = widget.newScrollView

During the app is running, inside the ScrollView listener, I want to enable vertical scroll.

Is it possible?

I originally thought I could I just change myScrollView.verticalScrollDisabled, but it’s not working. 

How about isLocked?

try myScrollView._view._isVerticalScrollingDisabled = true or false as required.

Thanks for your suggestion. I tested it by setting 

theScrollViewObject.\_view.\_isVerticalScrollingDisabled = false

when the app is running. It does not work.

I initially disabled the vertical scrolling while creating the scrollview, and set the value to false in certain condition afterwards, so I was expecting the vertical scrolling is enabled, but it’s still locked.

Does it mean the vertical scrolling cannot be enabled once it’s disabled during creation time?

Please help.

Thanks.

try myScrollView._view._isVerticalScrollingDisabled = true or false as required.

Thanks for your suggestion. I tested it by setting 

theScrollViewObject.\_view.\_isVerticalScrollingDisabled = false

when the app is running. It does not work.

I initially disabled the vertical scrolling while creating the scrollview, and set the value to false in certain condition afterwards, so I was expecting the vertical scrolling is enabled, but it’s still locked.

Does it mean the vertical scrolling cannot be enabled once it’s disabled during creation time?

Please help.

Thanks.