[Lazarus] Component compilation problem with lazarus 2.2
Bo Berglund
bo.berglund at gmail.com
Fri Nov 19 08:22:40 CET 2021
On Thu, 18 Nov 2021 10:59:32 +0100, Gabriele Cappelletto via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
Could you please STOP posting HTML-only messages to this mail list?
They are completely unreadable and ALL your posts seem to look like this...
><html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> </head>
> <body>
> <p>I think I have solved it, at least I think</p>
> <p><br>
> </p>
> <div class="moz-cite-prefix">Il 18/11/21 10:08, Gabriele Cappelletto
> via lazarus ha scritto:<br>
> </div>
> <blockquote type="cite"
> cite="mid:9ff39ec5-28d6-7938-f75d-1399bb95725a at yahoo.it">
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <p>Without the PageClass line: = TExtPanel_Tab; not working, how
> do you port in lazarus 2.2?</p>
> <p>Thank<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 at talktalk.net">
> <meta http-equiv="Content-Type" content="text/html;
> charset=UTF-8">
> <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 at yahoo.it">
> <meta http-equiv="content-type" content="text/html;
> charset=UTF-8">
> <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>
> <br>
> <fieldset class="mimeAttachmentHeader"></fieldset>
> </blockquote>
> </body>
></html>
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list