Understanding the long ID?
Chipp Walters
chipp at chipp.com
Tue May 15 18:55:23 EDT 2007
I'm using the latest release of Rev 2.8.1
I create a new stack, add a single fld and a single button. In the button
script I add:
on mouseUp
put the long ID of fld 1 into tID
set the disabled of tID to not the disabled of tID
put "fred" into tID
end mouseUp
When I press it, the field becomes disabled alternately (as expected). The
disabled is only here to show that tID is referenced correctly.
But, "fred" never gets put in the field? I wonder why? Is this a bug?
BTW, this does work:
set the text of tID to "fred"
hmmmmm.
More information about the use-livecode
mailing list