I have two forms. Form1 is a main form. I want to show modally Form2 by, for example clicking on the button which is dropped on Form1:
procedure TForm1.ButtonClick(Sender: TObject);
There is no problem. But I want to somehow trigger an event in Form2 immediately after it is created and properly displayed. Can you tell me how to do this?