title: Prevent inserting an empty memo
body: <p>I am checking the contents of the memo before an insert query.</p>
  
  <pre><code>if memo1.lines.Text = '' then begin
  showmessage('Warning:Missing data!');
  abort;
  end else ....
  </code></pre>
  
  <p>It works ok as long as there is nothing in the memo1.
  However, when user hits enter inside the empty memo and the cursor moves
  to the second line,running the query, fires the insert without a warning message,
  though theres nothing in the memo.
  Is there a way to prevent this ? </p>