The class of the up-down control. That is a control with two arrow heads pointing in opposite directions used for incrementing a numeric value in either direction by clicking on the arrow heads. A range of valid values can be specified by the range property.
Can be used on its own or paired with a buddy. A possible buddy-widget is the
editable-text
control. Once paired, the up-down-control will modify the display of
its buddy-widget, otherwise
it only modifies its own value (which can be programmatically accessed
and, if desired, displayed elsewhere).
For example, place an editable-text
control on a form and
place an up-down control next it. Make the value of the editable-text
1 and the range of the up-down control (0, 100). Ensure that the
editable-text is correctly identified as the buddy-widget of the up-down control
(as indicated by the buddy-widget
property). When you run the form, the value in the editable text
widget will increase (up to 100) and decrease (down to 0) as the
up-down control is clicked.
See About how to get sample code for creating controls in cgide.htm, which explains how to use the IDE to create such code.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.