I've tried to unify some Lazarus and D7 sources and succeeded except for
one thing:

TYPE TMyForm = CLASS(TForm)
    {$IFDEF FPC}
         SomePage: TPage;
    {$ENDIF}
END;

Delphi parses it wrongly and always offers to remove the declaration.

I don't need the declaration in L, but removing it led to a class not found
error.

While in LFM the form looks like

object SomeBook: TNotebook
    object SomePage: TPage
    end;
end;

there's just

object SomeBook: TNotebook
    object TPage
    end;
end;

in Delphi. I modified it to look like L, but it changed nothing.

Any idea?
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to