I was wondering if the show TForm method exists without waiting for it (like TForm.Show). But I would like to BLOCK all other forms (as in ShowModal)
Example:
I have Form1 and Form2. Form1 has a button that should open Form2, but Form1 is blocked, but pressing the button still continues the code that appeared after opening Form2.
procedure TForm1.Button1Click(Sender: TObject); begin Form2.ShowModal;
I hope you know what I mean.
source share