[Lazarus] Packages / Visual Form Inheritance / Components Connection
Osvaldo Filho
arquivostcf at gmail.com
Tue Apr 14 19:19:16 CEST 2009
But how can i include forms/datamodules from a lpk package in CreateForm
statement of a project?
And, how can a use Visual Form Inheritance in a project where the
ansestors (my models) is on .lpk package?
Thanks.
Em Ter, 2009-04-14 às 18:27 +0200, Mattias Gärtner escreveu:
> Zitat von Osvaldo Filho <arquivostcf at gmail.com>:
>
> > Em Ter, 2009-04-14 às 10:25 -0300, "Leonardo M. Ramé" escreveu:
> > > If you are referring to .bpl packages, the answer is No, because
> > > FPC/Lazarus doesn't use packages.
> >
> > No.
> > I'm talk about "Lazarus Packages", ".lpk";
> >
> > > But if you create your datamodule inside a .dll or .so library, it's
> > > perfectly possible.
> >
> > It is not the case.
> >
> > One project (new application project)
> > One package, .lpk, with form models (for visual form inheritance) and
> > one conection datamodule with a database component.
> >
> > is it possible access the database component with others components as
> > dataset?
> > is it possible use of VFI ?
>
> At the moment components on other forms/datamodules can only be used in the
> designer, if the form/datamodule is listed in the CreateForm statement of the
> lpr file.
> Note: A CreateForm statement can also create hidden forms/datamodules.
>
> It does not matter if any of those units is in an lpk or not.
>
> Eventually the IDE will search components on all available forms/datamodules.
>
> Mattias
>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list