When I create an object dynamically, for example a form, I do this:
Formulario := TFormulario.Create(nil);
try
Formulario.ShowModal;
finally
Formulario.Free;
end;
What's the difference in creating an object by passing the following values to the AOwner parameter in the Create method?
Formulario := TFormulario.Create(Application);
Formulario := TFormulario.Create(nil);
Formulario := TFormulario.Create(Self);