System.Classes.TReader.OnFindComponentClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFindComponentClass: TFindComponentClassEvent read FOnFindComponentClass write FOnFindComponentClass;

C++

__property TFindComponentClassEvent OnFindComponentClass = {read=FOnFindComponentClass, write=FOnFindComponentClass};

Properties

Type Visibility Source Unit Parent
event public
System.Classes.pas
System.Classes.hpp
System.Classes TReader

Description

Occurs when a reader first reads the name of a component class.

The ReadComponent method generates an OnFindComponentClass event when it reads the class name for the component it is loading. An OnFindComponentClass event handler can replace the class reference with a different class to change the type of component that gets loaded.

OnFindComponentClass is an event handler of type System.Classes.TFindComponentClassEvent.

See Also