Código Delphi [-] ... begin if Assigned(Panel1) then Panel1.Free; ...
... begin if Assigned(Panel1) then Panel1.Free; ...