CloseQueryEventArgs.CreateArgs

Fore Syntax

CreateArgs(Allowed: Boolean; CloseReason: FormCloseReason);

Fore.NET Syntax

CreateArgs(Allowed: Boolean; CloseReason: Prognoz.Platform.Interop.Forms.FormCloseReason);

Parameters

Allowed. Parameter that determines whether the form is closed. IfTrue is passed, the form is closed.

CloseReason. It is a parameter that determines the reason of form closing.

Description

The CreateArgs constructor creates an argument of the OnCloseQuery event specifying the indicator of closing and the reason of form closing.

See also:

CloseQueryEventArgs