[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Type used for an OnClose event handler in a form.
Source position: forms.pp line 503
type TCloseEvent = procedure( |
Sender: TObject; |
var CloseAction: TCloseAction |
) of object; |
Sender |
|
The form that received an Close request. |
CloseAction |
|
Set this to caNone, to prevent the form from closing. |
Closing a form can have several meanings:
The handler can set CloseAction to the desired value for the action.
Version 4.0 | Generated 2025-05-03 | Home |