button references?

Doug Lerner doug at webcrossing.com
Sat Jan 3 07:15:32 EST 2004


So, changing the default stack is really the only way?

Thanks,

doug

On 1/3/04 8:45 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

>> 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?
> 
> If the object is in another stack from the current default stack (the one
> that has focus) then yes.  But if you have a lot of such references to write
> you can set the defaultStack and use shorter descriptors:
> 
> put the defaultStack into tSaveStack
> set the defaultStack to "MyStackName"
> set the label of btn 1 to "Steve"
> set the label of btn 2 to "Bob"
> -- etc.
> set the defaultStack to tSaveStack
> 
> 
> --
> Richard Gaskin
> Fourth World Media Corporation
> Developer of WebMerge: Publish any database on any Web site
> ___________________________________________________________
> Ambassador at FourthWorld.com       http://www.FourthWorld.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list