Command WR DELETE OFFSCREEN AREA

4D Write

WR DELETE OFFSCREEN AREA

version 6.0


WR DELETE OFFSCREEN AREA (area)

ParameterTypeDescription
areaLongint4D Write area

Description

The command WR DELETE OFFSCREEN AREA deletes the 4D Write area that was created with WR New offscreen area and frees the memory used by the offscreen area.

area must be an offscreen area and not an area on a form or in a window. Issue the WR DELETE OFFSCREEN AREA command when you no longer need the offscreen area.

Example

The following example illustrates the need to pair every call to WR New offscreen area with a corresponding call to WR DELETE OFFSCREEN AREA.

   NewArea:=WR New offscreen area
      `Create a new offscreen area
      `Do Something
   WR DELETE OFFSCREEN AREA (NewArea)
      `Remove the offscreen area

See Also

WR New offscreen area.