Icon Register Method

procedure Register(Component: TComponent)

Registers a component with another component so that the calling component receives component notification messages.

For example, a component can register itself with another component so that it can be notified when the component is destroyed. This is useful in situations where a component instance needs to know when another component instance is destroyed so that it can remove any references to the component instance being destroyed.