Card navigation

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
KMGriffiths
Posts: 7
Joined: Thu Aug 06, 2009 7:32 am

Card navigation

Post by KMGriffiths » Thu Aug 06, 2009 7:45 am

I ma setting up a project which uses 6 cards. I want to be able to navigate to any card from any other card rather than moving from one card to another sequentially. What script should I use in my buttons ???
Michael Griffiths

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Aug 06, 2009 8:30 am

Hi Michael,

simply provide the NUMBER or NAME of the card you want to navigate to:
...
go cd 3
...
or
...
go cd "my third card"
...

You can also
...
go first cd
..
or
...
go last cd
...

Best from germany

Klaus

KMGriffiths
Posts: 7
Joined: Thu Aug 06, 2009 7:32 am

Post by KMGriffiths » Thu Aug 06, 2009 9:25 am

Klaus wrote:Hi Michael,

simply provide the NUMBER or NAME of the card you want to navigate to:
...
go cd 3
...
or
...
go cd "my third card"
...

You can also
...
go first cd
..
or
...
go last cd
...

Best from germany

Klaus
Thanks for your help Klaus. Problem solved. Michael
Michael Griffiths

Post Reply