[Lazarus] Packages / Visual Form Inheritance / Components Connection
Mattias Gärtner
nc-gaertnma at netcologne.de
Tue Apr 14 18:27:52 CEST 2009
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
More information about the Lazarus
mailing list