RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.OnFindAncestor Event

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

Pascal
property OnFindAncestor: TFindAncestorEvent;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!