ManagedForm.OnClose

Syntax:

OnClose(<Exit>)

Parameters:

<Exit>

Type: Boolean.
The attribute indicating the form closing during the process of application shutdown is transferred to this parameter:
  • True - if in the process of application shutdown; False - if only the form closes.

Description:

Occurs on the client when closing a form.
In the process of application shutdown (parameter Exit has a value True) server calls and opening windows are not allowed.

Note:

In the event handler, it is impossible to cancel the form closing.

    

1C:Enterprise Developer's Community