Progress
Language Reference


RETURN-INSERTED Attribute

How an editor widget behaves when a RETURN event occurs.

Data Type: LOGICAL

Access: Readable/Writeable

Applies To: Editor

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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095