Understanding the long ID?

Trevor DeVore lists at mangomultimedia.com
Tue May 15 19:05:00 EDT 2007


On May 15, 2007, at 3:55 PM, Chipp Walters wrote:

> 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

Hi Chipp,

You are using "put" with a variable so "fred" is put into the  
variable tID.
When using a variable to reference a field you need to:

set the text of tID to "fred"

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com
trevor at bluemangolearning.com





More information about the use-livecode mailing list