StdFormClose event

Occurs before a form closes. For example, the event occurs after the user clicks Close and Cancel Changes or Close and Save Changes (OK) on the Form menu.

The event is not associated with a default handler and is for notification only.

Remarks

To close a form programmatically, you can generate the StdFormExitOk or StdFormExitCancel events.