View Single Post
  #3  
Old 06-12-2019, 02:58 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 885
Default

I use the following to go to a form

with TDataForm.Create(Self) do
try
ShowModal;
finally
Release;
end;

To go back to the calling form I use

ModalResult := mrOK;

ModalResult can be different values depending on what happens in Form 2.

George
Reply With Quote