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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
arnaubc
Posts: 5
Joined: Fri Apr 19, 2013 11:11 pm

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

Post by arnaubc » Wed May 08, 2013 3:40 pm

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

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

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

Post by BvG » Wed May 08, 2013 5:24 pm

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
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply