Hello,
I am using scale widget to define the position of e.g a xz-plane for doing some calculations. I want to set the value of y with the slider or the arrows left and right. I got it working. After mouse left clicking the left or right arrow the value changes by the defined step, but is the mouse pointer still standing over the arrow buttons the value ich changing further and fast (wihle mouse button is not pressed). My code is:
CALL SWGCLR (235/255d0, 195/255d0, 117/255d0, 'SCROLL')
CALL SWGSTP (.1d0)
CALL WGSCL (ip1, 'y_min -- mm --> y_max ', -1.d0, 2.d0, 0.0d0, 3, id_xz0y)
CALL SWGCBK (id_xz0y, MYPLOT_xz)
I played around with CALL DOEVNT, but could not change the behaviour. Maybe I used the Doevnt not propperly.
How to manage the Subroutine MYPLOT_xz is only called when the left/right arrows are clicked or the slider is moved?
Thank you
Regards