---Thomas Costigliola wrote:
> I was discussing with another J user a possible approach to this. What
> you can do is subclass the plot class (jwplot I believe) which would
> give you access to the variables within plot such as xmin,xmax etc.
> Then, for example, add a method called zoom that takes a zoom factor
> and adjusts xmin,ymin accordingly. This method can be called from the
> trackbar event handler along with 'show' to dynamically update the
> plot.
To be clear, I am dynamically changing inputs to the plot rather than zooming 
which I imagine is actually easier, but the same ideas will apply.

> If I am mistaken and trackbar does not emit events as it is
> being slid then the alternative is to handle the mouse move events
> which is what I use in my application described by Devon on the NYJUG
> page.

So far I've only got trackbar to respond to a "button" event, so I imagine that 
I'd have to use some form of mouse move event handler to get it to update while 
being slid.

Is there any documentation describing the types of events that different 
controls support?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to