SmallChange

This property returns and sets the amount of change to the Value property setting in a scroll bar control when a user selects a scroll arrow.

Syntax

object.SmallChange [= number]

Parameters

object
Object expression that evaluates to an HScrollbar or VScrollbar control.
number
Integer that specifies the amount of change to the Value property.

Remarks

Windows CE automatically sets proportional scrolling increments for scroll bars, ComboBox controls, and ListBox controls based on the amount of data in the object. However, for the HScrollBar and VScrollBar controls, you must specify these increments.

You can specify an integer from 1 through 32,767. By default, each property is set to 1.

Typically, you set SmallChange at design time. You also can reset this property in code at run time when the scrolling increment must change dynamically.

Set the maximum and minimum ranges of the HScrollBar and VScrollBar controls with the Max and Min properties.