About me... (a bug)

David Bovill david at openpartnership.net
Sun Dec 3 14:16:51 EST 2006


Like target me does not always work in refering to controls.... this one got
me today:

Placed in a fields script:

getprop view_Text
   return the text of me
end view_Text

works if you are on the card but not if you are somewhere else. Changeing
the script to:

getprop view_Text
    put the long id of me into someField
    return the text of someField
end view_Text

Fixes the problem - IMHO this is a bug. Me should return a long id by
default.



More information about the Use-livecode mailing list