System.Classes.TFindComponentClassEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TFindComponentClassEvent)(TReader* Reader, const System::UnicodeString ClassName, TComponentClass &ComponentClass);

Properties

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

Description

TFindComponentClassEvent is the type of the OnFindComponentClass event handler.

Reader is the reader that has just read the class name of a component it is loading

ClassName is the name that was read from a stream.

ComponentClass is the class reference that corresponds to ClassName. The event handler can change it to substitute a different class type.

See Also