Consultor Eletrônico



Kbase P48630: How to insert a hard return within Editor Widget?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/25/2003
Status: Unverified

GOAL:

How to insert a hard return within Editor Widget?

FACT(s) (Environment):

Progress 9.x

FIX:

Set RETURN-INSERTED attribute to TRUE.

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.