change label name

Bob Hartley rev at armbase.com
Sat Feb 19 04:38:55 EST 2005


At 23:37 17/02/2005, you wrote:

>Bob Hartley wrote:

Hi Alex and Dan

I got it eventually I used the keyword "text".

For future reference the final script is

on mouseUp
   global tFileName
   copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName
   set the text of field LabelName of stack tFileName to field LabelNewName 
of stack "Armbase"
   set the name of field LabelName of stack tFileName to field LabelNewName 
of stack "Armbase"
end mouseUp

cheers
bob


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005




More information about the use-livecode mailing list