ACCEPTENTER property (Editline)
Description
Specifies if the EDITLINE control processes an Enter keystroke internally first before passing it onto its parent for processing.
Under normal circumstances the Enter key will either fire the parent form's Default PUSHBUTTON (if there is one), or move the focus to the next control in the Tab order. However, when this property is set to TRUE$ then the Enter keystroke is handled internally and may be processed in the CHAR event instead.
Property Value
The ACCEPTENTER property is a Boolean value of TRUE$ or FALSE$. If TRUE$ then Enter keystrokes are processed by the EDITLINE control first. The default value is FALSE$.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
N/A
Example
//// Example – Allow the Enter keystroke to be processed in the CHAR event:// Call Set_Property_Only( @Window : ".EDL_SENTENCE", "ACCEPTENTER", TRUE$ )
See Also
Common CHAR event, EDITBOX ACCEPTENTER property, EDITBOX ACCEPTTAB property, PUSHBUTTON DEFAULT property.