IceCold
IceCold

Reputation: 21194

How to create composite controls?

Can anybody point to some (thick) books (even web sites) that explain how to create your own composite controls (for example a TPanel that is the parent for several other controls) in all its glory?

I mean something beyond Borland's "Component Writers Guide".

I have seen here on StackOverflow LOTS of posts about this topic and in every single one of them people are contradicting about the constructors, inheritance, where/when to initialize code, streaming issues, order of events, parenting, etc

Upvotes: 3

Views: 892

Answers (2)

Eduardo Elias
Eduardo Elias

Reputation: 1760

I have found that there is a sourceforge repository for the CCPack.

There is even the packages for many delphi versions.

I have installed on Delphi XE2 and it was needed a simple fix for working (the registering call is not right, it gives a compile time error, i dont remember exactly, but easy correction)

I could install and works as expected. I have made several simple components and a composite one using it and worked.

CCPack on SourceForge

Upvotes: 2

Related Questions