version 1
CT New offscreen area Longint
| Parameter | Type | Description | ||||
| This command does not require any parameters | ||||||
| Function result | Longint | 4D Chart offscreen area's ID | ||||
Description
CT New offscreen area creates a 4D Chart offscreen area and returns the area's ID. The value returned by CT New offscreen area can be used in any 4D Chart command that requires a 4D Chart area.
Example
This example searches for a record, creates an offscreen area, copies a document from the record into the area, and then prints the area.
`Search for the record QUERY ([Table3];[Table3]Field1 = "Level1") `Create a new offscreen area $Offscreen := CT New offscreen area `Copy the document stored in a field CT FIELD TO AREA ($Offscreen;3;2) `Print the area CT PRINT ($Offscreen;0) `Get rid of the offscreen area CT DELETE OFFSCREEN AREA ($Offscreen)
See Also
CT AREA TO AREA, CT DELETE OFFSCREEN AREA.