Page 1 of 1

How to create a card with a list? (Mobile)

Posted: Wed May 08, 2013 3:40 pm
by arnaubc
Hello everyone!

I'm new to LiveCode and I would like to create a tourist mobile guide of my town. I need to create lots of cards that will be lists of the interesting places to visit. Could you help me and explain to me how to create lists? I intend to develop the app for iOS and Android.

Thank you! :D

Re: How to create a card with a list? (Mobile)

Posted: Wed May 08, 2013 5:24 pm
by BvG
You'll want to create a template group that contains your GUI object and texts, and then insert your data into it, depending on where the user "navigated". If you want to store all your data within the GUI itself, you can set the sharedBehavior of the group to true, and create new cards that contain your GUI, which you then manually prepare with your data on each of those cards.

use the following commands and properties (and look them up in the dictionary):

new card command
group command
place command
go command
go to next|previous card
go to card 2
sharedBehavior command