[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCloseAction

What should happen when a form is closed.

Declaration

Source position: forms.pp line 69

type TCloseAction = (

  caNone,

  

Do nothing.

  caHide,

  

The form is hidden.

  caFree,

  

The form is destroyed.

  caMinimize

  

The form is minimized.

);

See also

TCustomForm.OnClose

  

Handler called when the form is closed. It determines what happens to the form (destroy, hide...).

The latest version of this document can be found at lazarus-ccr.sourceforge.net.