Professional Documents
Culture Documents
• ForeColor: Gets or sets the foreground color of the scroll bar control.
• ImeMode : Gets or sets the Input Method Editor (IME) mode supported by this control.
• LargeChange: Gets or sets a value to be added to or subtracted from the Value property when
the scroll box is moved a large distance.
• Maximum : Gets or sets the upper limit of values of the scrollable range (default value 32767).
• Minimum: Gets or sets the lower limit of values of the scrollable range (by default 0).
• SmallChange: Gets or sets the value to be added to or subtracted from the Value property
when the scroll box is moved a small distance.
• Value: Gets or sets a numeric value that represents the current position of the scroll box on the
scroll bar control.
Methods of the ScrollBar Control
iFullFormHeigth = 3765
iDisplayHeight = 1800
Me.Height = iDisplayHeight
With VScroll1
.Height = Me.ScaleHeight
.Min = 0
.Max = iFullFormHeigth - iDisplayHeight
.SmallChange = Screen.TwipsPerPixelY * 10
.LargeChange = .SmallChange
End With
End Sub
Private Sub pScrollForm()
Dim ctl As Control
oldPos = VScroll1.Value
End Sub