Topic: Showmodal

Can anyone explain to me for what is showmodal?

Form1.showmodal;


thanks

Re: Showmodal

When you call ShowModal, you code will stopped until the form is closed, example:


Form2.Showmodal;
ShowMessage('Form2 is closed'); // this line will be execute, when Form2 will be closed.



also
The Show function shows the form in a non modal form. This means that you can click on the parent form.

Showmodal shows the form modally, meaning you cannot go to the parent form.

Dmitry.