how to add cards

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
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

how to add cards

Post by fre » Fri Nov 12, 2010 7:33 pm

hi, i am sorry if i ask stupid questions...
i use LiveCode 4.5.1 and i can not find a way to add cards to my mainstack.
it could be that i understand something wrong, i read that a stack can have multipel cards.
in my opinion cards are pages. i want to add a new page, thats all.
i have a trail version, could that be the reason, why i can not find the ADD CARD menupoint ?

i also could not found the code to open a new card with a button click.

help would be very helpful. thank you !

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

Re: how to add cards

Post by Klaus » Fri Nov 12, 2010 7:58 pm

Hi fre,

Menu -> Object -> New Card :D

Navigating to cards is easy like this in a button:

Code: Select all

on mouseup
  go next card
  ## OR: previous/first/last card
  ## OR: go card 2 -> will go to card number 2 etc...
end mouseup
Best

Klaus

P.S.
I highly recommend to work through one or all of these stacks:
http://www.runrev.com/developers/lesson ... nferences/

Bantymom
Posts: 73
Joined: Fri Aug 27, 2010 4:32 am

Re: how to add cards

Post by Bantymom » Fri Nov 12, 2010 8:05 pm

I was so excited when I saw this topic because I thought that I would finally be able to help someone else and contribute to the community. However, when I saw that it was a question about LiveCode, I didn't dare, because I suddenly thought that maybe you guys had moved the New Card out of the Object menu and I didn't want to give fre the wrong answer. Good to know, though, that it is still in the same place.

The Tutorials/Lessons/Stacks at the link that Klaus gave you are very helpful.
There is also this one:

http://lessons.runrev.com/spaces/lessons

And in RevMedia (free version of the LiveCode once upon a time when it was called RunRev, so I don't know if this is the same for LiveCode), there is a thing in the menu bar called Resources with lots of very basic where-do-you-find-it stuff, but you have to look to find it sometimes.

Best of luck, fre!

Bantymom
(resident perpetual beginner)
2nd-grade Teacher, Poultry Fancier, Scottish Country Dancer
and Perpetual Beginner

Post Reply