System.Classes.TAncestorNotFoundEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAncestorNotFoundEvent = procedure (Reader: TReader; const ComponentName: string;
ComponentClass: TPersistentClass; var Component: TComponent) of object;

C++

typedef void __fastcall (__closure *TAncestorNotFoundEvent)(TReader* Reader, const System::UnicodeString ComponentName, TPersistentClass ComponentClass, TComponent* &Component);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TAncestorNotFoundEvent is a procedure called by the TReader class OnAncestorNotFound event.

TAncestorNotFoundEvent is for internal use only.

Reader is the TReader object that is trying to locate the ancestor of a component is reading from a form file.

ComponentName is the name of the ancestor component that can't be located.

ComponentClass is the class reference for the component that cant be located.

Component is an instance of the ancestor component that the event handler creates for the reader.

See Also