version 6.0
DR DELETE OFFSCREEN AREA (area)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area |
Description
The command DR DELETE OFFSCREEN AREA disposes of a 4D Draw offscreen area that was created with DR New offscreen area and frees the memory used.
area must be an offscreen area rather than an area on a form or in a window. You should always call DR DELETE OFFSCREEN AREA when you are finished with an offscreen area.
Example
The following example illustrates how to pair every call to DR New offscreen area with a corresponding call to DR DELETE OFFSCREEN AREA.
$NewArea := DR New offscreen area `Create a new offscreen area `Do some processing here DR DELETE OFFSCREEN AREA ($NewArea) `Remove the offscreen area
See Also
DR AREA TO AREA, DR New offscreen area.