System.Classes.TWriter.OnFindAncestor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFindAncestor: TFindAncestorEvent read FOnFindAncestor write FOnFindAncestor;

C++

__property TFindAncestorEvent OnFindAncestor = {read=FOnFindAncestor, write=FOnFindAncestor};

Properties

Type Visibility Source Unit Parent
event public
System.Classes.pas
System.Classes.hpp
System.Classes TWriter

Description

Occurs when a component is about to be written to a stream.

OnFindAncestor allows the writer to explicitly specify the ancestor of a component when it is written to a stream. The WriteComponent method generates this event to override the value of the Ancestor property before writing a component to a stream.

OnFindAncestor is an event handler of type System.Classes.TFindAncestorEvent.

See Also