Numericstepper Component - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Property (Continued)
List.selectable
List.selectedIndex
List.selectedIndices
List.selectedItem
List.selectedItems
List.vPosition
List.vScrollPolicy

NumericStepper component

The NumericStepper component allows a user to step through an ordered set of numbers. The component consists
of a number displayed beside small up and down arrow buttons. When a user pushes the buttons, the number is
raised or lowered incrementally. If the user clicks either of the arrow buttons, the number increases or decreases,
based on the value of the stepSize parameter, until the user releases the mouse or until the maximum or minimum
value is reached.
The NumericStepper handles only numeric data. You must resize the stepper while authoring to display more than
two numeric places (for example, the numbers 5246 or 1.34).
Using the NumericStepper component
The NumericStepper can be used anywhere you want a user to select a numeric value. For example, you could use a
NumericStepper component in a form to allow a user to set their credit card expiration date.
NumericStepper parameters
You can set the following are authoring parameters for each NumericStepper component instance in the Property
inspector:
value sets the value of the current step. The default value is 0.
minimum sets the minimum value of the step. The default value is 0.
maximum sets the maximum value of the step. The default value is 10.
stepSize sets the unit of change for the step. The default value is 1.
You can write code to control these and additional options for NumericStepper components by using its properties,
methods, and events.
Customizing the NumericStepper component
You can transform a NumericStepper component horizontally and vertically during authoring and at runtime.
Resizing the NumericStepper component does not change the size of the down and up arrow buttons. If the stepper
is resized greater than the default height, the stepper buttons are pinned to the top and the bottom of the component.
The stepper buttons always appear to the right of the text box.
Description (Continued)
Indicates whether the list is selectable (
The index of a selection in a single-selection list.
An array of the selected items in a multiple-selection list.
The selected item in a single-selection list. This property is read-only.
The selected item objects in a multiple-selection list. This property is read-only.
Scrolls the list so the topmost visible item is the number assigned.
Indicates whether the vertical scroll bar is displayed ("
displayed when needed ("
").
auto
) or not (
).
true
false
"), not displayed ("
on
ADOBE DIRECTOR 11.0
User Guide
"), or
off
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents