M-Files UI Extensibility Framework
OnCloseWindow Event
M-Files UI Extensibility Framework > Events > OnCloseWindow Event
Description
Sent for a window when the window is requested to closed.
Return Type

Boolean

Return false to cancel the window closing.

Remarks

The event is not sent when the window destruction is inevidable, or when the parent window gets destroyed. This can happen, for example, because of logout or system shutdown.

Supported in M-Files 9.0.3372.6 and newer.