guides:programming:programmers_reference_manual:acceptenter_property_editbox

ACCEPTENTER property (Editbox)

Specifies if the EDITBOX control processes an Enter keystroke internally first before passing it onto its parent for processing.

Under normal circumstances new lines can be entered in the EDITBOX by using the Ctrl-Enter keystroke combination, while single Enter keystrokes are passed to the parent object for further processing, such as triggering a default button click. If ACCEPTENTER is set to TRUE$ then new lines may be inserted via a single Enter keystroke, and Ctrl-Enter keystrokes will now pass "Enter" onto the parent instead.

The ACCEPTENTER property is a Boolean value of TRUE$ or FALSE$. If TRUE$ then Enter keystrokes are processed by the EDITBOX control first. The default value is FALSE$.

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

N/A

 
//// Example - allow new lines to be inserted with a single Enter//
   ////           keystroke instead of Ctrl-Enter.//
   
   Call Set_Property_Only( @Window : ".EBD_NOTES", "ACCEPTENTER", TRUE$ )
 
 
 
 
 

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

  • guides/programming/programmers_reference_manual/acceptenter_property_editbox.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1