CreateArgs(Allowed: Boolean; CloseReason: FormCloseReason);
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.
The CreateArgs constructor creates an argument of the OnCloseQuery event specifying the indicator of closing and the reason of form closing.
See also: