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

TInitComponentHandler

Callback type for RegisterInitComponentHandler

Declaration

Source position: classesh.inc line 1617

type TInitComponentHandler = function(

  Instance: TComponent;

  RootAncestor: TClass

):Boolean;

Description

TInitComponentHandleris a callback type. It is used in the InitInheritedComponentcall to initialize a component. Callbacks of this type are registered with the RegisterInitComponentHandlercall.