Subject editor filling
From Moses Hanna <info@mjhanna.com.au>
Date Tue, 09 Jan 2024 18:30:58 -0500
Newsgroups dbase.getting-started

Hello
I have a form with an editor1 on

   function EDITOR1_onLeftDblClick(flags, col, row)
      form.editor1.setfocus()
      form.editor1.keyboard(\"{ctrl+pgdn}\")
      form.editor1.value += datetime()
      form.editor1.lineno += 1
      return
I want the cursor to be at the beginning of a new line at the bottom of the editor
can some gentleman rewrite the code please