ScrollView Wedget ... How to isLocked?

How do I feature ScrollView widget isLocked of implementation?

scrollview.isLocked = true

Widget 2.0 how? [import]uid: 174238 topic_id: 36450 reply_id: 336450[/import]

try this!

scrollview._view._isLocked

This is the correct way to do this: http://docs.coronalabs.com/daily/api/library/widget/newScrollView.html#islocked-optional

Danny, is scrollView.isLocked = true/false now exposed at runtime or is it still something that can only be set once at creation time for the scrollView as it used to be? Thanks

Hi Ksan,

I see it officially only in the options right now, but you can try to use scrollView._view._isLocked

Thanks

  Atanas

Hi Atanas, indeed you are right. I have been using scrollView._view._isLocked happily. The reason for my question was that a while back Danny or someone else from CL (can’t recall who) had promised that scrollView.isLocked = true/false would be exposed at runtime in a future widget bug release. Danny’s post above made me wonder if this was completed but I suppose not. Thanks for sharing your insight. 

try this!

scrollview._view._isLocked

This is the correct way to do this: http://docs.coronalabs.com/daily/api/library/widget/newScrollView.html#islocked-optional

Danny, is scrollView.isLocked = true/false now exposed at runtime or is it still something that can only be set once at creation time for the scrollView as it used to be? Thanks

Hi Ksan,

I see it officially only in the options right now, but you can try to use scrollView._view._isLocked

Thanks

  Atanas

Hi Atanas, indeed you are right. I have been using scrollView._view._isLocked happily. The reason for my question was that a while back Danny or someone else from CL (can’t recall who) had promised that scrollView.isLocked = true/false would be exposed at runtime in a future widget bug release. Danny’s post above made me wonder if this was completed but I suppose not. Thanks for sharing your insight.