Button leaving behind droppings

Alex Tweedly alex at tweedly.net
Mon Jul 4 17:04:19 EDT 2005


Is there something else I ought to do (or not do) here ?

Create a new mainstack
Create a button in it  (all default values)

edit the card script to say

on mouseMove
  put the loc of button "button" into tLoc
  put item 1 of the mouseloc into item 1 of tLoc
  set the loc of button "button" to tLoc
end mouseMove

and the button moves along with the mouse, just like you'd want.

Then Inspect the button, and select "default button" - now the button 
moves, but leaves behind "droppings" as it moves.

Is there something else I ought to do to move a "default" button, or 
should I BZ this ?
(winXP, Rev 2.6, and 2.5 but not 2.2)

-- 
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