ReleaseType Property

Returns an integer that determines how a Form object is released. Not available at design time; read-only at run time.

Object.ReleaseType

Property Values

The settings for the ReleaseType property are:

Setting Description
0 Variable released.
1 Close menu command or close box.
2 Exit Visual FoxPro.

Remarks

The ReleaseType property is set prior to the QueryUnload event being called.

See Also

QueryUnload Event | Unload Event

Applies To: Form | _SCREEN