{*************************************************************************}
{*                                                                       *}
{* Dialog Engine 1.5                                                     *}
{*                                                                       *}
{* File    : EnterEd.Inc                                                 *}
{* Version : 10.10.1992                                                  *}
{*                                                                       *}
{* Copyright (c) 1992 by Uwe Janiak, Berlin                              *}
{*                                                                       *}
{*************************************************************************}


procedure TenterEdit.wmchar(var msg:tmessage);
  var von,bis:integer;
  begin
    If msg.wparam=vk_return then
      begin
        getselection(von,bis);
        setselection(bis,bis);
        insert(#13#10);
      end else
    defwndproc(msg);
  end;
