About me... (a bug)
David Bovill
david at openpartnership.net
Sun Dec 3 17:52:51 EST 2006
This bug effects text fields only not other properties of objects as far as
I can tell. So the following work in all cases:
getprop view_Label
return the effective label of me
end view_Label
setprop view_Label someValue
set the label of me to someValue
end view_Label
But the following fail if the properties are not set from the card
containing the field:
getprop view_Text
return the text of me
end view_Text
setprop view_Text someValue
set the text of me to someValue
end view_Text
This can be fixed by using:
getprop view_Text
put the long id of me into someField
return the text of someField
end view_Text
setprop view_Text someValue
put the long id of me into someField
set the text of someField to someValue
end view_Text
More information about the use-livecode
mailing list