control references

Trevor DeVore trevor at
Mon Jun 24 09:42:01 EDT 2002

What about if you need to send a command to an object like:

send ("changeObjectSide" && (the long ID of me)) to graphic theController

Don't you have to use the send command in order to do that or is there another
way?  If you have to use the send commmand is the only way of referencing the
object to use control ID objectID?

Trevor DeVore
Blue Mango Multimedia
trevor at

>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
>use-revolution mailing list
>use-revolution at

More information about the Use-livecode mailing list