<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-15">
  </head>
  <body>
    <p>It works, thanks<br>
    </p>
    <div class="moz-cite-prefix">Il 01/10/21 18:19, Howard Page-Clark
      via lazarus ha scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:249c3f4a-ca5b-8ab6-0d6c-7aa8418a4942@talktalk.net">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-15">
      <div class="moz-cite-prefix">On 01/10/2021 16:32, Gabriele
        Cappelletto via lazarus wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:12dc8636-832d-743b-faa9-934dd8515fb3@yahoo.it">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-15">
        <p><br>
        </p>
        <p>Sorry, I also allocate the complete file<br>
        </p>
        <p><br>
        </p>
        <p>Hello to all,<br>
        </p>
        <p>This code compiles with lazarus 2.0.12<br>
        </p>
        <p>constructor TExtTabPanel.Create(AOwner : TComponent);<br>
          begin<br>
          {$IFDEF LCL}<br>
          �� PageClass := TExtPanel_Tab;<br>
          {$ENDIF}<br>
          � inherited Create(AOwner);<br>
          � Disabled := False;<br>
          � Hidden := False;<br>
          end;� <br>
        </p>
        <p><br>
        </p>
        <p>but with lazarus 2.2 it gives me the following error:<br>
        </p>
        <p><b>extp_design_ctrls.pas(1247,4) Error: Identifier not found
            "PageClass"</b><br>
        </p>
        <p>How do I resolve?<br>
        </p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
      </blockquote>
      <p>Remove the {$ifdef}...{$endif} altogether.</p>
      <p>The reference to "PageClass" is presumably some leftover from
        earlier code. It is not needed.<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
  </body>
</html>