System.Classes.TReader Events

From RAD Studio API Documentation
Jump to: navigation, search

OnAncestorNotFoundpublicOccurs when the object from which a streamed object is derived cannot be found.
OnCreateComponentpublicOccurs when the reader has read a component's class but has not yet instantiated the component.
OnErrorpublicOccurs when a reader object encounters an error reading its data, such as reading the name of an undeclared property or an illegal value.
OnFindComponentClasspublicOccurs when a reader first reads the name of a component class.
OnFindComponentInstancepublicOnFindComponentInstance is an event handler of type System.Classes.TFindComponentInstanceEvent.
OnFindMethodpublicOccurs each time the reader object reads an event, which is a method-pointer property, for an object.
OnFindMethodInstancepublicOnFindMethodInstance is an event handler of type System.Classes.TFindMethodInstanceEvent.
OnReferenceNamepublicOccurs when resolving references to other objects such as when one object is the property value of another.
OnSetNamepublicOccurs just before the reader object sets the Name property of a component it reads from its stream.