Zitat von Osvaldo Filho :
Show quoted text 19 lines
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