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. This is the default action for MDI child forms.

解决方案 »

  1.   

    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. This is the default action for MDI child forms.If a form is an MDI child form, and its BorderIcons property is biMinimize, then the default Action is caMinimize. If a MDI child form does not have these settings, the default Action is caNone, meaning that nothing happens when the user attempts to close the form.If a form is an SDI child form, Action defaults to caHide.To close and form and free it in an OnClose event, set Action to caFree.