CloseQueryEventArgs.CreateArgs

Syntax

CreateArgs(Allowed: Boolean; CloseReason: 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