title: Delphi - disable controls not working EMS Advanced Export 4
body: <p>I tried to disable ABSQuery1 controls  before exporting data :</p>
  
  <pre><code>procedure TForm1.QExport4Dialog1BeforeExportRow(Sender: TQExport4;
    Row: TQExportRow; var Accept: Boolean);
  begin
  ABSQuery1.DisableControls;
  end; 
  </code></pre>
  
  <p>But I get :</p>
  
  <pre><code>&gt; [dcc32 Error] Unit1.pas(75): E2003 Undeclared identifier: 'TQExport4'
  &gt; [dcc32 Error] Unit1.pas(76): E2003 Undeclared identifier:
  &gt; 'TQExportRow' [dcc32 Error] Unit1.pas(204): E2005 'TQExport4' is not a
  &gt; type identifier [dcc32 Error] Unit1.pas(205): E2005 'TQExportRow' is
  &gt; not a type identifier [dcc32 Fatal Error] Project1.dpr(15): F2063
  &gt; Could not compile used unit 'Unit1.pas'
  </code></pre>
  
  <p>What am I doing wrong ?</p>