But in experimenting with a simple gadget to help a new user, I made two largish square buttons, and set the backColor of btn 2 to any old color. I put this into the card script:
Code: Select all
on mouseMove
get the rect of btn 1
put the mouseV into item 2 of it
if the mouseloc is within the rect of btn 1 and the mouse is down then set the rect of btn 2 to it
end mouseMove
I tried
Code: Select all
on mouseEnter
set the backColor of btn 2 to "113,115,23" --arbitrary
end mouseEnter
on mouseMove
get the rect of btn 1
put the mouseV into item 2 of it
if the mouseloc is within the rect of btn 1 and the mouse is down then
put the backColor of btn 2 --to monitor while moving
set the rect of btn 2 to it
end if
end mouseMove
Seems like a bug to me, and an odd one at that. LC 6.03, Mac OS 10.5.8
Craig Newman