change label name
rev at armbase.com
Thu Feb 17 15:39:02 CST 2005
I have a button that copies a label from one stack to another stack.
the code changes the name OK but I want to change the visible text in the
the code is
copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName
set the name of field LabelName of stack tFileName to field LabelNewName
of stack "Armbase"
--the above is OK and copies the label and changes its name to the
contents of a field
set the label of field LabelName of stack tFileName to field
LabelNewName of stack "Armbase"
--this one above generates an error
I tried using the words contents and name etc in thelast line but without
Any ideas. I'm sure this is simple.
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