On 03 Jan 2004, at 11:23, [EMAIL PROTECTED] wrote:

Message: 8
Date: Sat, 03 Jan 2004 17:52:21 +0900
From: Doug Lerner <[EMAIL PROTECTED]>
Subject: button references?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

If I find myself referencing something like the following a lot:

button "a" of card "mainCard" of stack "thisOtherStack"

is there a shorter way of referencing this?

Yes there is. May be this way is a horror to others, but I like it :^)


Try this:
make 2 new stacks called for example "me" and "you"


Damn, I hit the send button before rereading and adjusting the text, sorry
So here is the adjustment:



in stack "you" put 1 fld with some text in it
and 1 btn

in stack "me" put 1 btn with the following text


--constant ca = "fld 1 of stack you" -- (just for the example, you can load a local or just a var)
constant ca = "fld 1 of stack you",cb = "btn 1 of stack you"


on mouseup put the text of ca && the rect of ca
set the label of cb to the text of ca


end mouseup


doug


Greetings,
WA

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to