Button leaving behind droppings

Alex Tweedly alex at tweedly.net
Tue Jul 5 08:25:33 EDT 2005


John Ridge wrote:

>But on further reflection - this is the behaviour you have scripted! You
>haven't said anything about erasing the remains of the last "set the loc".
>The "grab" command presumably does pay attention to this...
>
>Yes?
>  
>
No. You never say anything about erasing at the old location (in fact, I 
don't know if there is any way to do that). To change the location of an 
object you set its location - and it disappears from the old location 
and appears at the new one. Nothing else needed.

The "grab" command comes with limitations - e.g. the object follows the 
mouse completely - not simply in one dimension as I need, it can only be 
used when the mouseloc is within the object, etc. (according to the docs 
- I've never used it, so can't confirm those).

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005




More information about the use-livecode mailing list