I've got a repeat loop checking the inside(the mouseloc, hitlist[i]) and
making the cursor a hand, exiting the repeat if true.

On slower systems I'm told that the cursor flickers since the hotrect
might be later in the list than some.

What's the best way of handling this?

There are many ways to do this, but sticking with your general approach, you could do this:

thecursor = -1 -- and arrow
ml = the mouseloc
repeat with i = 1 to hitlist.count
if inside(ml,hitlist[i]) then
thecursor = 280 --a hand
exit repeat
end if
end repeat
cursor thecursor


This way only one cursor set happens. Also, by setting ml = the mouseloc you don't get into the situation you would have if the user moves from one area to another while the repeat loop is running.

I do similar things, but in a different way to how you're doing it.


--
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to