enterKeyProtection
layout.cle enterKeyProtection boolean { t | nil }
Description
(DM Mode Only) Specifies whether pressing Enter implies that the OK button is clicked when DM comments are not specified. The default is t, which means if all DM comments are not specified, pressing Enter does not imply that OK is clicked. Only when all DM comments are specified, pressing Enter implies OK is clicked. If this environment variable is set to nil, pressing Enter implies OK is clicked even when DM comments are not specified.

The following forms support this environment variable:
GUI Equivalent
Examples
envGetVal("layout.cle" "enterKeyProtection")
envSetVal("layout.cle" "enterKeyProtection" 'boolean nil)
Related Topic
List of Concurrent Layout Environment Variables
Return to top