To configure a Text Box to write to a data source

  1. If you have not already done so, insert and configure a Text box. How?

  2. While in Configure mode, right-click the Text Box and select Commands from the context menu. The Configure Actions and Commands dialog box appears.

  3. Select the enterKeyPressed action.

  4. In the Commands list on the right, double-click the Write Value Command. The Write Value Command dialog box appears.

  5. Click the Configure Data Source button and select the data source you want to write to.

  6. Select the type of data entry:

    • If you select Fixed Value, specify the value and select whether it is alphanumeric or numeric data. When the user presses the Enter key in the Text Box during run-time, the value will be changed to the fixed value.

    • If you select Get Value at Run-time, select Pop-up from the Data Entry Type drop-down list. When the user presses the Enter key in the Text Box during run-time, a pop-up appears with the current value displayed. The user can then change the value in the pop-up window. Select the Confirm Writes check box if you want a confirmation message to appear when the user changes the value.

    • If you select From Property, select the type of property from the list. The value of this property will be written to the data source during run-time. For example, if Horizontal Scale Percentage is selected, then during run-time, when the user presses the Enter key on the Text box, the current value is replaced by the value of the horizontal scale percentage (as it is set in the Properties dialog box of the Text Box).

  7. Click OK.

  8. Click Close on the Configure Actions and Commands dialog box.