RAD Studio VCL Reference
TReader.OnFindComponentClass Event

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

property OnFindComponentClass: TFindComponentClassEvent;
__property TFindComponentClassEvent OnFindComponentClass;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!