Search found 9 matches
- Fri Apr 26, 2013 7:38 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Re: Resetting variables, cards, etc
Thank you guys, I made it work.
- Wed Apr 24, 2013 7:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Re: Resetting variables, cards, etc
Hi guys, I did what you suggested, but I'm running into problems. I guessed that the preOpenCard is called when I go to the card, so I created a new card with a button "Start" that has 'go to card xy' where xy is the card that actually does the thing I'm working on, put some initializing stuff in th...
- Wed Apr 24, 2013 6:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Re: Resetting variables, cards, etc
Good to hear these, and thanks for the help, really great community here, fast, helpful, and friendly, I like that 

- Wed Apr 24, 2013 4:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Re: Resetting variables, cards, etc
OMG this seems complicated. LiveCode should have something built-in for this, like a menu "Save card state as", and then a command initCardState "CardStateName". I'm still learning a lot of commands and features of LiveCode, so I'll get back to the documentation on how to save states of objects in a...
- Wed Apr 24, 2013 1:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Re: Resetting variables, cards, etc
And how do I initalize the card? What code should I Put in?
Can you explain in more detail?
Sorry I'm a complete beginner.
Thank you.
Cole
Can you explain in more detail?
Sorry I'm a complete beginner.
Thank you.
Cole
- Wed Apr 24, 2013 11:14 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resetting variables, cards, etc
- Replies: 11
- Views: 5738
Resetting variables, cards, etc
Hi,
How can I reset the cards, variables, etc, to the basic state, as I set them up?
I mean after testing out my app, things don't reset when I get back to edit mode and it's a bit annoying that I have to put back everything by hand.
Thank you.
How can I reset the cards, variables, etc, to the basic state, as I set them up?
I mean after testing out my app, things don't reset when I get back to edit mode and it's a bit annoying that I have to put back everything by hand.
Thank you.
- Wed Apr 24, 2013 10:52 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Naming new objects on runtime
- Replies: 5
- Views: 3279
Re: Naming new objects on runtime
Thanks for both of you 

- Tue Apr 23, 2013 5:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Naming new objects on runtime
- Replies: 5
- Views: 3279
Re: Naming new objects on runtime
And how can I get access to these long IDs globally, later on?
I mean I have to know how livecode names these long IDs, make them global, and access them later in code.
How do I do that?
Thank you.
I mean I have to know how livecode names these long IDs, make them global, and access them later in code.
How do I do that?
Thank you.
- Tue Apr 23, 2013 4:48 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Naming new objects on runtime
- Replies: 5
- Views: 3279
Naming new objects on runtime
Hi, What's the solution to give unique names to objects created at runtime, so I can easily refer to them? I have a Button with the following script, but it doesn't work: global POV, POVNum POVNum = 1 POV = "POV" + POVNum on mouseUp move button addnew relative 0,30 create field "NewField" set the na...