Change the name of a card

Marty Knapp martyknapp at comcast.net
Mon Nov 22 11:13:27 EST 2010


on closeField
   set the name of this card to me
end closeField

Marty Knapp
> Probably very simple to do.
>
> I've got a field that is part of a background group, and so will be on 
> every new card created in this stack.
>
> I want to change the name of the card to the contents of this field 
> after the user has typed something into the field.
>
> So I presume the script for the field would start with "On 
> Closefield", but then how do I actually change the name of the card to 
> be the contents of the field?
>
> Thanks,
> --Scott
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list