I have recently switched to IDL7.1 from 7.0, and have a problem using WIDGET_SLIDER. Although DRAG is set for widget, drag events are not generated.
The same code worked for 7.0. Has there been a change to the way the events are handled, and should I change the way they are used?
The test program below runs as expected in 7.0, but not in 7.1
PRO testslider_event, ev
common sliders, slider
widget_control, slider, GET_VALUE=value
print, value
END
PRO testslider
common sliders, slider
main = widget_base (xsize=200,ysize=100)
slider = widget_slider (main,/drag)
widget_control, main, /realize
xmanager, 'testslider', main
END
|