mouseDown across multiple buttons
Malte Brill
malte.brill at t-online.de
Mon Nov 24 07:39:43 EST 2003
Hi Scott,
Forgot to check for y, sorry.
global myHilite
on mouseDown
set the radiobehavior of me to false
put not the hilite of the target into myHilite
end mouseDown
on mousemove x,y
if the mouse is down then
repeat with i=1 to the number of buttons of me
if x>the left of btn i of me and x<the right of btn i of me /
and y> the top of btn i of me and y< the bottom of btn i of me then
--mind line break
set the hilite of btn i of me to (myhilite)
end if
end repeat
end if
end mousemove
Regards,
Malte
More information about the use-livecode
mailing list