Table of Contents

Method SetScrollPos

Namespace
Alternet.Common
Assembly
Alternet.Common.Winforms.v10.dll

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

control Control

A scroll bar control or a window with a standard scroll bar.

flat bool

Indicates whether scroll bar is flat.

pos int

Specifies the position of the scroll box.

isVertical bool

Indicates 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

control AbstractControl
flat bool
pos int
isVertical bool