Method SetScrollPos
SetScrollPos(Control, bool, int, bool)
Sets the position of the scroll box (thumb) in the specified scroll bar.
public static void SetScrollPos(Control control, bool flat, int pos, bool isVertical)
Parameters
controlControlA scroll bar control or a window with a standard scroll bar.
flatboolIndicates whether scroll bar is flat.
posintSpecifies the position of the scroll box.
isVerticalboolIndicates whether scroll bar is vertical or horizontal.
SetScrollPos(AbstractControl, bool, int, bool)
public static void SetScrollPos(AbstractControl control, bool flat, int pos, bool isVertical)
Parameters
controlAbstractControlflatboolposintisVerticalbool