Find which control is the top parent (which has no further parent itself).
Source position: controls.pp line 1496
public function TControl.GetTopParent: TControl;