Vcl.Forms.TCloseAction
Delphi
TCloseAction = System.UITypes.TCloseAction;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.Forms.pas | Vcl.Forms | Vcl.Forms |
Description
TCloseAction describes how a form should respond when it is closed.
TCloseAction consists of the following values:
| Value | Meaning |
|---|---|
|
caNone |
The form is not allowed to close, so nothing happens. |
|
caHide |
The form is not closed, but just hidden. Your application can still access a hidden form. |
|
caFree |
The form is closed and all allocated memory for the form is freed. The pointer to the form owned by the application object is not set to NULL. |
|
caMinimize |
The form is minimized, rather than closed. |