System.Classes.TCreateComponentEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TCreateComponentEvent)(TReader* Reader, TComponentClass ComponentClass, TComponent* &Component);

Properties

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

Description

TCreateComponentEvent is a type of procedure called by the TReader class OnCreateComponent event.

Reader is the reader that needs an instance for a component that it is reading.

ComponentClass is the class of the component to be instantiated.

Component returns new instance of ComponentClass.

TCreateComponentEvent is for internal use only.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.Classes.TCreateComponentEvent&oldid=743679"