System.Classes.TComponent.SetAncestor
Delphi
procedure SetAncestor(Value: Boolean);
C++
void __fastcall SetAncestor(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TComponent |
Description
Clears or sets csAncestor state in the component's ComponentState property.
SetAncestor is used internally in the component streaming system. It is not necessary to call it directly.
If Value is set to True, the csAncestor flag is included into the component state; otherwise, it is excluded.