title: TMS DBPlanner - copy and paste an event
body: <p>I am trying to copy and paste an event from the DBPlanner.
  I tried :</p>
  
  <pre><code>procedure TForm1.Copy1Click(Sender: TObject);
  begin
  DBPlanner2.Items.Select(APlannerItem);
  DBPlanner2.Items.CopyToClipboard;
  DBPlanner2.SelectCells(DBPlanner2.SelItemBegin,DBPlanner2.SelItemEnd, DBPlanner2.SelPosition + 1);
  end;
  </code></pre>
  
  <p>I get :</p>
  
  <blockquote>
    <p>[dcc32 Error] Unit1.pas(107): E2003 Undeclared identifier:
    'APlannerItem'</p>
  </blockquote>
  
  <p>Then to paste :</p>
  
  <pre><code>procedure TForm1.Paste1Click(Sender: TObject);
  begin
  DBPlanner2.Items.PasteFromClipboardAtPos;
  end;
  </code></pre>
  
  <p>What am I doing wrong ?</p>