Page 1 of 1
Getting contents of another stack's field
Posted: Tue Sep 04, 2007 1:26 pm
by Andycal
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?
Posted: Tue Sep 04, 2007 1:44 pm
by Mark
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:
Code: Select all
on mouseUp
put field 1 of stack "Your First Stack" into field 1
end mouseUp
and click once on the button.
Best,
Mark
Posted: Tue Sep 04, 2007 2:04 pm
by Andycal
Y'know what, when it comes down to it, this RunRev lark is a bit obvious 'aint it?!
Cheer Mark!
Posted: Tue Sep 04, 2007 7:02 pm
by Garrett
Yeah, it's kind of like
"*slaps self on forehead* Wow! I should've seen that! It's so simple!" when you realize it.

Posted: Wed Sep 05, 2007 12:33 pm
by reelstuff
I agree, for me its just hard to wrap my mind around how easy it can be, so I work at making it harder

Posted: Wed Sep 05, 2007 12:58 pm
by Andycal
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!
Posted: Thu Sep 06, 2007 1:13 am
by andyh1234
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