System.Classes.TCreateComponentEvent
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.