[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TCreateComponentEvent

Event handler type, occurs when a component instance must be created when a component is read from a stream.

## Declaration

`type TCreateComponentEvent = procedure(`
`Reader: TReader;`
`ComponentClass: TComponentClass;`
`var Component: TComponent`
`) of object;`