ScrollBar.setSelection

Sets the single <em>selection</em> that is the receiver's value to the argument which must be greater than or equal to zero.

@param selection the new selection (must be zero or greater)

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class ScrollBar
void
setSelection
(
int value
)

Meta