/************************************************************************* handler function for when thumb moves. *************************************************************************/ bool Scrollbar::handleThumbMoved(const EventArgs&) { // adjust scroll bar position as required. setScrollPosition(getValueFromThumb()); return true; }
/************************************************************************* handler function for when thumb moves. *************************************************************************/ bool Slider::handleThumbMoved(const EventArgs& e) { setCurrentValue(getValueFromThumb()); return true; }