control references

Monte Goulding monte.goulding at senet.com.au
Sat Jun 22 22:02:01 CDT 2002


Try:

on mouseUP
  changeObjectSide the long ID of me
end mouseUp

I don't know why there is a difference but there is

> on mouseUP
>   send ("changeObjectSide" && (the long ID of me))
> end mouseUp
> 
> on changeObjectSide pObject
>   put the rect of pObject into theRect
>   put theRect -- This causes an error.  The text of the field 
> object is seems to          
>               -- be referenced rather than the object itself
> end changeObjectSide




More information about the use-livecode mailing list