Well, I'll try something like, although my example wasn't exactly
representative of what I am trying to accomplish, I can probably do
something similar. I'm not using the field as a container for
calculation purposes, I use a variable, and only use the field to
display the value, but it causes the same problems.
>
> > Note that using an idle handler like mouseStillDown works better, but
> > is fairly chunky due to the idle time. (The idle time can be made
> > smaller, but I'm not sure what other effects this will have)
>
> I can't see why this would be better unless you're running across a
> highly loaded network or to a slow X server, in which case the script
> could get way ahead of the object redrawing. The repeat-loop approach
> should be a lot faster when running on a local system or between two
> relatively balanced systems.
> Scott
>
Perhaps I should have mentioned that I am remotely running this over a
network, although the network isn't particularly overloaded. A slow X
server, hmmm, would an old Personal IRIS count...most likely.
I just tried it on a SPARC 1 (certainly not a speed demon) locally and
the performance was acceptable using the repeat loop. Sometimes I
forget about the network thing ;-).
-Earle
-- Earle Lowe emlowe@fsa.ca FSA Corporation Performance and system software for UNIX networks.