Picking from a list of multiple variables

42 views
Skip to first unread message

Lee Hendrix

unread,
Jul 12, 2016, 10:49:33 PM7/12/16
to MIT APP INVENTOR 2
I'm trying to write a program that, based on the week chosen from a picklist , will show the games for that chosen week.

nicoma...@googlemail.com

unread,
Apr 29, 2017, 4:43:05 AM4/29/17
to MIT APP INVENTOR 2
For the picklist can you use the component "Spinner".

nicoma...@googlemail.com

unread,
Apr 29, 2017, 4:55:20 AM4/29/17
to MIT APP INVENTOR 2
You must embedd the variables with the block "initalize global 'name'". Plug in the "to" socket, use a "make a list" block. There, list the variables.
Then drag a "when Screen1.Initalize", a "set Spinner1.Elements" and a "get 'global name'" block in the Viewer. Pair the set block with the when block, and the get block with the "to" socket of the set block.

18be...@student.dist156.org

unread,
Nov 13, 2017, 3:25:27 PM11/13/17
to MIT APP INVENTOR 2

18be...@student.dist156.org

unread,
Nov 13, 2017, 3:27:50 PM11/13/17
to MIT APP INVENTOR 2
Hi I have a question about how you embed variables, because when i did what you told me to do this link popped up.
Reply all
Reply to author
Forward
0 new messages