On Fri, 21 Dec 2007 21:45:23 +0100
Giuliano Colla <[EMAIL PROTECTED]> wrote:
> To find a satisfactory solution to some of my company needs, I'm
> planning to make some experiments, but I miss a very basic concept.
>
> What's the relationship between IDE compile-time component library,
> and IDE run-time component library?
>
> In my simple-minded approach I would think that, in order to show a
> window or a component the IDE should create an instance of it, and
> therefore use the same component library and the same classes it was
> compiled with.
Correct.
> Am I right or there's some diabolic trick to do otherwise?
There is a small, not diabolic, trick.
> And if there's no diabolic trick, what's the bare minimum set of
> components to make the IDE work?
For example the KOL package is a visual component library
similar to the LCL optimized for smart linking. Because the unit names
and class names are the same you can use lazarus to create/edit KOL
forms. The trick is that the user (here: programmer) does not use all
LCL properties, but only the small subset the KOL controls provide.
Find declaration and compilation use the KOL units, but the RTTI is
provided by the LCL.
It is planned to register your own designers for non LCL components,
but this has low priority for me, so don't expect anything soon.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives