IFormControl.ShowModal

Syntax

ShowModal: FormModalResult;

Description

The ShowModal method enables the user to open a modal form, for which this method is called. After the modal form has been closed, the method returns the result of the form execution.

NOTE. It is not advisable to open the form modally, if it was created without owner. The Visible property should be used to display the equal forms. If the user tries to open the form from the modeless one, there is no access to the elements of the called form. This peculiarity should be taken into account during development of the applied projects.

See also:

IFormControl