Velocity API: Settings.set()

Version 1

    Return To Index

    Settings.set()

    Overview

    Sets a value for the specified property.

    Format

     

    Settings.set(setting,value);
    ParameterDescriptionTypeRequired
    settingThe name of the property. See the Setting Values table for the names of properties that can be used.StringRequired

     

     

    Setting valuesDescriptionNotes
    oversizedScanningDetermines how the Velocity Client handles scans with more characters than a field allows for 5250 or 3270.Valid values:
    "0" = Do not allow. Discards the scan data.
    "1" = Truncate. Discards the extra characters.
    "2" = Split. Populates the current field and puts the extra characters into the next field.
    Setting valuesDescriptionNotes
    localechoSpecify if the terminal uses local echo to reflect what is sent to the host. ( vt or HP only )

    Valid Values:

    "True" = Enable this option

    "False" = Disable this option

    Example

    /* The Oversized Scanning property is set to truncate scanned 
    * items.
    */
      
    Settings.set("oversizedScanning","1");