Q:

Custom Component: Deferring events till after FormCreate

I have created a component that descends from a TTreeView and automatically filled with a specialized content. I have added my own OnSelectionChange event. OnSelectionChange is called from within the Change method (overriding the TTreeView.Change method ) when the handle has been allocated and ComponentState <> csReading or csLoading.
The problem is that when the component is added to a form the OnChange event occurs BEFORE FormCreate. How can I delay my events till after all creation has occurred? 
I guess I could post a message to the component and react to that, but then I would only want to postmessage when in the state of creating. Is there a better way?
procedure TMyDescendentTreeView.Change(Node: TTreeNode);
begin
  inherited;

  if HandleAllocated and assigned( fOnSelChange) and (not ( csReading in ComponentState ))
    and (not ( csLoading in ComponentState )) then
    fOnSelChange( Self, TXYZ(Node).Data, TXYZ(Node) );
end;

A:

OK, so thanks to Remy Lebeau who helped me to understand my issue better. Because my component is filled with content by default, I discarded the change notifications that occurred during the initial fill (which happens once the handle is available). 
So now the selection change event no longer occurs during component creation (and thus before FormCreate).

