Platform SDK: Web Telephony Engine

StepConstrains.Type Property

The Type property retrieves the type of the constraints.

Syntax

[ lType = ] StepConstrains.Type

Possible Values

lType
Integer specifying the type of constraints. It can be a combination of these values:
ConsTerminator
Termination string, used in text fields (TEXTAREA and INPUT TYPE=TEXT). The constraint is fulfilled when the string is entered.
ConsLegalDigits
A list of legal digits, used in menus in which a selection option of one digit is associated with each menu item. The constraint is fulfilled when one of these digits is pressed.
ConsBoundaries
Boundaries (between lower and upper), used in menus in which more then one digit is associated with each menu item (for example, a menu with 15 items may have the numbers 10 through 24 associated with its menu items). The constraint is fulfilled when one of the numbers is entered.
ConsAny
Any key. Possible only with INPUT TYPE=TEXT or TEXTAREA controls while recording or at speech recognition.

This property is read-only.

Remarks

If the menu is a multiple items menu used in SELECT elements with the MULTIPLE attribute on them, the constraints on the menu include the ConsTerminator value.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

StepConstrains