Share via


ScrollBar control [Outlook 2003 Forms Help]

Returns or sets the value of another control based on the position of the scroll box.

Remarks

Requires VBScript.

A ScrollBar is a stand-alone control you can place on a form. It is visually like the scroll bar you see in certain objects such as a ListBox or the drop-down portion of a ComboBox. However, unlike the scroll bars in these controls, the stand-alone ScrollBar is not an integral part of any other control.

To use the ScrollBar to set or read the value of another control, you must write code that uses the ScrollBar'sValue property. For example, to use the ScrollBar to update the value of a TextBox, you can write code that reads the Value property of the ScrollBar and then sets the Value property of the TextBox.

The default property for a ScrollBar is the Value property.

Note  To create a horizontal or vertical ScrollBar, drag the sizing handles of the ScrollBar horizontally or vertically on the form.

Properties | BackColor Property | Delay Property | Enabled Property | ForeColor Property | LargeChange Property | Max, Min Properties | Max, Min Properties | MouseIcon Property | MousePointer Property | Orientation Property | ProportionalThumb Property | SmallChange Property | Value Property

Parent Objects

Child Objects