AUTOENTER Property


8.7C, PLBCMP GUI Only

 

The AUTOENTER property controls the automatic entry state of an object. The property uses the following format:

 

AUTOENTER={value}

Note the following:

  1. AUTOENTER may be used in CREATE, SETPROP, or GETPROP statements for EDITTEXT, EDITNUMBER, EDITDATETIME or RICHEDITTEXT objects.

  2. The AUTOENTER action does not occur if data is keyed at any but the last position of the field as determined by the MAXCHARS property value.

  3. The AUTOENTER action does not occur in overtype mode.

  4. If the state is ON, EDITTEXT objects automatically tab to the next object in the tab sequence when the following conditions occur:

  5. Generate/bullet1.gif    The object is a single line edit object.

    Generate/bullet1.gif    The MAXCHARS property is set to a non-zero value.

    Generate/bullet1.gif    The user keys the last character in the edit field as determined from the MAXCHARS property

  6. If the state is ON, EDITNUMBER objects automatically tab to the next object in the tab sequence when the number is completed using the keyboard.

  7. Generate/bullet1.gif    If a number has decimal digits, it is considered complete when all of the decimal digits have been entered.

    Generate/bullet1.gif    If the value has no decimal digits, all of the integer digits must be entered.

  8. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
     

  9. Value

    Keyword

    Automatic entry is ...

    0

    $OFF

    disabled (default).

    1

    $ON

    enabled.

     

  10. When using the PL/B Web Server, this property is not supported.

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference AUTOACT Property AUTOFORWARD Property