SCREEN FUNCTION DYNAMICS - EVENTS FOR SPINNERS

  

DEVELOPER

Spinner Source: The data for the spinner comes from the values that you set for the ‘Range’ (maximum, minimum and increment). The steps are generated based on the range that you configure for the spinner. Alternatively, you can associate a selection cycle as the source of the data. If the selection cycle has two or more columns, the first column is used to return the value to the data source and the second column is used for the step; any extra columns in this case are ignored. However, if there is only one column in the selection cycle, the same column handles the data source and steps.

Note: At runtime, the data from the selection cycle or the range is loaded into the spinner and you can select the value from the predefined set of values. You cannot type a value in the spinner.

Increment and Page Increment Properties

  1. Double-click the spinner object.
    The Spinner properties window appears.

  2. Click Events tab.

  3. On the Spinner Source list, select either option:

    1. To provide a range of predefined values, on the Spinner Source list, click Range.

      1. Under the Range group, enter the value or select a numeric variable that appears as a minimum value on the slider.

      2.   Enter the value or select a numeric variable that appears as a maximum value on the slider.

        Note: For ‘Range’, numbers should be integers; else they are rounded at runtime. It does not support decimal values.

    2. To associate a selection cycle, on the Spinner Source list, click Cycle.

      1. Under Associated Selection Cycle group, enter or select the selection cycle.

        Note: For ‘Cycle’, you can associate the selection cycle if you want to return decimal values. At runtime, the data from the selection cycle is loaded into the spinner and you can select the value from the predefined set of values. You cannot type a value into a spinner.

 

  1. Under Increments group, configure the values:

    1. Increment: Enter the value or select a numeric variable.

    2. Page Increment: Enter the value to state the number of values to skip when you use the Page Up and Page Down keys on the spinner.

  1. Click OK.

 

Comment on this topic

Topic ID: 500685