oi10:presentation_server:acceptenter_property_editline

ACCEPTENTER property (Editline)

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.

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$.

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

N/A

 
//// Example – Allow the Enter keystroke to be processed in the CHAR event://
   
   Call Set_Property_Only( @Window : ".EDL_SENTENCE", "ACCEPTENTER", TRUE$ )
 
 
 
 
 

Common CHAR event, EDITBOX ACCEPTENTER property, EDITBOX ACCEPTTAB property, PUSHBUTTON DEFAULT property.

  • oi10/presentation_server/acceptenter_property_editline.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1