[fpc-devel] documentation TComponentState

Michael Van Canneyt michael at freepascal.org
Thu Feb 27 14:22:11 CET 2014



On Thu, 27 Feb 2014, Mattias Gaertner wrote:

> Hi,
>
> Some TComponentState flags need documentation.
> Here are some suggestions:
>
> csAncestor:
> The component has a design ancestor. For example a form TForm2 inherited
> from a form TForm1. TForm1 and all its components are copied to TForm2.
> TForm2 and all its inherited components have csAncestor. Only
> differences between TForm1 and TForm2 are stored in the stream of
> TForm2. The child components of a frame put onto a form have csAncestor
> too.
>
> csInline:
> The component is a nested top level component. For example a frame on a
> form. The children of the frame do not have csInline, unless they are
> other frames.
>
> csDesignInstance:
> The component is designed (csDesigning) and is a root component
> (Owner=nil).

Added, and explained the rest a bit more detailed as well.

Thanks.

Michael.



More information about the fpc-devel mailing list