Show: Delphi C++
Display Preferences

System.Classes.TComponent.SetAncestor

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance