Yes, a good idea. For instance, one might want the same code to be
triggered from different events.
on mousedown
doit
end mousedown
on selectionchanged
doit
end selectionchanged
on returninfield
doit
end returninfield
on doit
repeat with n = 1 to 200
set the cursor to busy
end repeat
end doit
My point was more about decoupling the bulk of the actual code from
the on-screen object event handlers: mouseUp, returnInField, etc. I
don't always do this, but if the handler grows to more than a couple
of lines I'll usually break it out.
--
-Mark Wieder
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution