Assigns a delegate to the valueChanged event.
public void addOnValueChanged( EventHandler eh )
eh
The EventHandler delegate to be notified when the event occurs.
The valueChanged event occurs when the value of the scroll bar is changed, either programmatically or by the user.
Note When the user changes the value of the scroll bar, the scroll event is also triggered. The scroll event occurs before the valueChanged event.
To programmatically change the value of the scroll bar, call setValue.
See Also removeOnValueChanged