Click or drag to resize

Window.Destroy Method (Typed)

X#
Free memory resources allocated for a window and its derived objects.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Destroy() AS USUAL CLIPPER
Request Example View Source

Return Value

Type: Usual
NIL

Implements

Destroy
Remarks
This method immediately frees resources for Window objects created explicitly in your application. Window:Destroy() also takes care of resources allocated to derived classes and deallocates them in the necessary order (e.g., child windows are destroyed before the parent window, dialog windows and MDI shell windows are also looked after).
See Also