PreviousNextIndex

RETURN-INSERTED attribute


(Windows only)

How an editor widget behaves when a RETURN event occurs.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: EDITOR widget

If the RETURN-INSERTED attribute is TRUE, a RETURN event inserts a hard return at the cursor position, breaking the current line. Otherwise, if the editor is in a dialog box with a default button, a RETURN event chooses the default button for the dialog box. If the editor is not in a dialog box with a default button, a RETURN event inserts a hard return for any value of RETURN-INSERTED. The default value is FALSE.

You can set this attribute only before the editor widget is realized.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex