Skip to content

RegisterInitComponentHandler

Register a component initialization handler.

Declaration

Source position: classesh.inc line 3096

procedure RegisterInitComponentHandler(ComponentClass: TComponentClass; 
                                      Handler: TInitComponentHandler);

Description

RegisterInitComponentHandler registers a component initialization handler Handler for the component ComponentClass. This handler will be used to initialize descendants of ComponentClass in the InitInheritedComponent call.

See also

Name Description
InitInheritedComponent Initializes a component descending from RootAncestor.
TInitComponentHandler Callback type for RegisterInitComponentHandler.