Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problems with new daily builds and ScrollViewWidget setIsLocked?
Started by awkaw Oct 06 2017 02:17 PM

2 replies to this topic
widget scrollview locking daily build builds setislocked
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

awkaw

[GLOBAL: userInfoPane.html]
awkaw
  • Enthusiast

  • 41 posts
  • Corona SDK

Hello! Not work "ScrollViewWidget:setIsLocked". Build 2017.3157



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,641 posts
  • Corona SDK

Are you sure you're using it correctly?  This works fine for me.

 

I added this to line 106 of the ~/WidgetDemo/tab2.lua (demo that comes with Corona):

	scrollView:setIsLocked(true)

and it locks right up.



[TOPIC: post.html]
#3

awkaw

[GLOBAL: userInfoPane.html]
awkaw
  • Enthusiast

  • 41 posts
  • Corona SDK

Sorry, everything works. The problem is the visibility of variables. :)



[topic_controls]
[/topic_controls]