use-revolution Digest, Vol 77, Issue 29
Jim Lambert
jiml at netrin.com
Thu Feb 11 22:51:27 EST 2010
Jacque wrote:
> on mousemove x,y
> put the helptext of the target into fld "help field"
> end mousemove
With rev messages that are called very frequently, like mousemove, I generally do a test to see if the overhead of refreshing a field is really necessary.
on mousemove x,y
if the myLastTarget of fld "help field" <> the target then
put the helptext of the target into fld "help field"
set the myLastTarget of fld "help field" to the target
end if
end mousemove
But this is just habit and superstition on my part.
Opinions?
Jim Lambert
More information about the use-livecode
mailing list