CT New offscreen area

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT New offscreen area Longint

ParameterTypeDescription
This command does not require any parameters
Function resultLongint4D 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.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next