Page 1 of 1

how to add cards

Posted: Fri Nov 12, 2010 7:33 pm
by fre
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 !

Re: how to add cards

Posted: Fri Nov 12, 2010 7:58 pm
by Klaus
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/

Re: how to add cards

Posted: Fri Nov 12, 2010 8:05 pm
by Bantymom
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)