|Code||Can be called by||Definition|
|22||Form||The window’s close box has been clicked|
On Close Box event is generated when the user clicks on the clos box of the window.
This example shows how to respond to a close window event with a form used for record data entry:
//Method for an input form
$vpFormTable:=Current form table
:(Form event code=On Close Box)
CONFIRM("This record has been modified. Save Changes?")