Methods | This Package | All Packages

UpDown Class

Encapsulates the up-down control.

Component
  |
  +--Control
    |
    +--UpDown

package com.ms.wfc.ui

public class UpDown
extends
Control

Remarks

An up-down control is a pair of arrow buttons that the user can click to increment or decrement a value, such as a scroll position or a number displayed in a companion control. An up-down control is most often used with a companion control, which is called a buddy window. To the user, an up-down control and its buddy window often look like a single control.

You can specify that an up-down control automatically positions itself next to its buddy window and that it automatically sets the caption of the buddy window to its current position. For example, you can use an up-down control with an edit control to prompt the user for numeric input (a combination that is sometimes referred to as a spinner control). An up-down control without a buddy window functions as a sort of simplified scroll bar. For example, a tab control sometimes displays an up-down control to enable the user to scroll additional tabs into view.