activeForm

activeForm(): Form;

The activeForm method of the Application class returns a reference to the form that currently has focus in the receiver application. This method returns a null value if no form in the application currently has focus.