Occurs when an object is released.
Syntax
PROCEDURE Object.Destroy
[LPARAMETERS nIndex]
Parameters
nIndex
Uniquely identifies a control if it is in a control array.
Remarks
The Destroy event for a container object triggers before the Destroy event for any of its contained objects; the container's Destroy event can refer to its contained objects before they are released.