RAD Studio VCL Reference
TWriter.OnFindAncestor Event

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

property OnFindAncestor: TFindAncestorEvent;
__property TFindAncestorEvent OnFindAncestor;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!