Getting contents of another stack's field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Getting contents of another stack's field
So, I've got a field on stack 1, and I open stack 2. How can stack 2 know what's in the text field on the card in stack 1?
Hi Andycal,
Create two stacks. One with a field and one with a field and a button. Put the following script into the script of the button:
and click once on the button.
Best,
Mark
Create two stacks. One with a field and one with a field and a button. Put the following script into the script of the button:
Code: Select all
on mouseUp
put field 1 of stack "Your First Stack" into field 1
end mouseUp
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
I think this is a big barrier to most people who are experienced programmers and is a potential problem for the marketing of RunRev.
I would guess that complete newbies to programming will have an easier time using RunRev than seasoned coders. It's programming using English and it breaks the rules in some respects, but makes for super-fast development.
Seasoned programmers are put off by it. I've been programming in PHP for years and before that did a little of C++ and VB and a few scripting languages. RunRev just seemed bizarre to me and to be honest, after buying it I didn't touch it for a year.
Having spent a few weeks recently playing again, it suddenly 'clicked' and within two days I wrote an image re-size utility for our customers and an SMS gateway system. That sort of development just isn't possible in such a short time using other languages.
I'm a convert, big style!
I would guess that complete newbies to programming will have an easier time using RunRev than seasoned coders. It's programming using English and it breaks the rules in some respects, but makes for super-fast development.
Seasoned programmers are put off by it. I've been programming in PHP for years and before that did a little of C++ and VB and a few scripting languages. RunRev just seemed bizarre to me and to be honest, after buying it I didn't touch it for a year.
Having spent a few weeks recently playing again, it suddenly 'clicked' and within two days I wrote an image re-size utility for our customers and an SMS gateway system. That sort of development just isn't possible in such a short time using other languages.
I'm a convert, big style!
Im a convert too now, I had it for a while and didnt really touch it, but after reading Dan Schaffers book, got hooked and have just about finished my first shareware app in it.
Been fighting with VB and C for years, its amazing just how easy things can be, it still amazes me everytime I compile, and the app im writing on my mac just works in windows as well (once I got the fonts figured out!!!)
I cant do that with any other app, Realbasic is the only other one I can think about, but it doesnt make it as easy.
Andy
Been fighting with VB and C for years, its amazing just how easy things can be, it still amazes me everytime I compile, and the app im writing on my mac just works in windows as well (once I got the fonts figured out!!!)
I cant do that with any other app, Realbasic is the only other one I can think about, but it doesnt make it as easy.
Andy