I see the takeFocus method has been removed with no substitute noted in the migration guide. How can we send events from objects inside a scrollView back to the scroller now? I have a few apps that rely on being able to do this, and it’s not addressed in the sample code as far as I can tell.
Thanks-
Scott
[import]uid: 31041 topic_id: 36211 reply_id: 336211[/import]
According to the new blog post:
Built-in ability to insert widget buttons into a scrollView.
I too am having issues with this. I can nearly get it going, but once the button is pressed once it never gives focus back to the scrollView. [import]uid: 179960 topic_id: 36211 reply_id: 143833[/import]
Icy Spark and I have this question going on in this thread here:
https://developer.coronalabs.com/forum/2013/02/22/widgetnewbutton-20131034-brakes-build
This is a huge problem for my previous game and the current one I’m working on.
[import]uid: 46082 topic_id: 36211 reply_id: 143837[/import]
Hey guys.
I will get this implemented asap for you. Apologies for any inconvenience caused. I will have a method out to do this super quick for you. [import]uid: 84637 topic_id: 36211 reply_id: 143838[/import]
According to the new blog post:
Built-in ability to insert widget buttons into a scrollView.
I too am having issues with this. I can nearly get it going, but once the button is pressed once it never gives focus back to the scrollView. [import]uid: 179960 topic_id: 36211 reply_id: 143833[/import]
Icy Spark and I have this question going on in this thread here:
https://developer.coronalabs.com/forum/2013/02/22/widgetnewbutton-20131034-brakes-build
This is a huge problem for my previous game and the current one I’m working on.
[import]uid: 46082 topic_id: 36211 reply_id: 143837[/import]
Hey guys.
I will get this implemented asap for you. Apologies for any inconvenience caused. I will have a method out to do this super quick for you. [import]uid: 84637 topic_id: 36211 reply_id: 143838[/import]
Any update on this? I looked through the daily build notes and didn’t see anything regarding “takeFocus” [import]uid: 46082 topic_id: 36211 reply_id: 145077[/import]
Nevermind, I should have looked harder.
http://docs.coronalabs.com/api/type/ScrollViewWidget/takeFocus.html [import]uid: 46082 topic_id: 36211 reply_id: 145079[/import]
You’re looking at the docs for the stable build (i.e., Widget 1.0). AFAIK, :takeFocus() has not been implemented in Widgets 2 yet. As such, I’m still using the 1.0 library (as describe in the Migration guide). [import]uid: 31041 topic_id: 36211 reply_id: 145088[/import]
Any update on this? I looked through the daily build notes and didn’t see anything regarding “takeFocus” [import]uid: 46082 topic_id: 36211 reply_id: 145077[/import]
Nevermind, I should have looked harder.
http://docs.coronalabs.com/api/type/ScrollViewWidget/takeFocus.html [import]uid: 46082 topic_id: 36211 reply_id: 145079[/import]
You’re looking at the docs for the stable build (i.e., Widget 1.0). AFAIK, :takeFocus() has not been implemented in Widgets 2 yet. As such, I’m still using the 1.0 library (as describe in the Migration guide). [import]uid: 31041 topic_id: 36211 reply_id: 145088[/import]
According to the new blog post:
Built-in ability to insert widget buttons into a scrollView.
I too am having issues with this. I can nearly get it going, but once the button is pressed once it never gives focus back to the scrollView. [import]uid: 179960 topic_id: 36211 reply_id: 143833[/import]
Icy Spark and I have this question going on in this thread here:
https://developer.coronalabs.com/forum/2013/02/22/widgetnewbutton-20131034-brakes-build
This is a huge problem for my previous game and the current one I’m working on.
[import]uid: 46082 topic_id: 36211 reply_id: 143837[/import]
Hey guys.
I will get this implemented asap for you. Apologies for any inconvenience caused. I will have a method out to do this super quick for you. [import]uid: 84637 topic_id: 36211 reply_id: 143838[/import]
According to the new blog post:
Built-in ability to insert widget buttons into a scrollView.
I too am having issues with this. I can nearly get it going, but once the button is pressed once it never gives focus back to the scrollView. [import]uid: 179960 topic_id: 36211 reply_id: 143833[/import]
Icy Spark and I have this question going on in this thread here:
https://developer.coronalabs.com/forum/2013/02/22/widgetnewbutton-20131034-brakes-build
This is a huge problem for my previous game and the current one I’m working on.
[import]uid: 46082 topic_id: 36211 reply_id: 143837[/import]
Hey guys.
I will get this implemented asap for you. Apologies for any inconvenience caused. I will have a method out to do this super quick for you. [import]uid: 84637 topic_id: 36211 reply_id: 143838[/import]
Any update on this? I looked through the daily build notes and didn’t see anything regarding “takeFocus” [import]uid: 46082 topic_id: 36211 reply_id: 145077[/import]