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

RegisterInitComponentHandler

Register a component initialization handler

Declaration

Source position: classesh.inc line 1637

procedure RegisterInitComponentHandler(

  ComponentClass: TComponentClass;

  Handler: TInitComponentHandler

);

Description

RegisterInitComponentHandlerregisters a component initialization handler Handlerfor the component ComponentClass. This handler will be used to initialize descendents of ComponentClassin the InitInheritedComponentcall.

See also

InitInheritedComponent

  

Initializes a component descending from RootAncestor

TInitComponentHandler

  

Callback type for RegisterInitComponentHandler