RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Forms.TCloseAction Enumeration

TCloseAction describes how a form should respond when it is closed.

Pascal
TCloseAction = (
  caNone,
  caHide,
  caFree,
  caMinimize
);
C++
enum TCloseAction {
  caNone,
  caHide,
  caFree,
  caMinimize
};

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.  
caMinimize  
The form is minimized, rather than closed.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!