Basic question about behaviors
paul at livecode.org
Tue Aug 25 23:03:16 EDT 2020
Bill, try this in the behaviour button script:
put the long name of this me into theName —theName will contain the long name of the behaviour button.
put this me into theName - would put the value contained in the text property of the behaviour button into theName. In standard, default and rectangle buttons we don’t normally use the text property, but there’s nothing stopping you from using it if you wish, you just need to populate it first. :)
> On 25Aug, 2020, at 15:48, William Prothero via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>> wrote:
> on mouseUp
> put this me into theName —theName is blank.
> end mouseUP
More information about the use-livecode