Screen =  screen .set  (  Screen  )  
                           
Description :

This instruction selects any of the three Alambik screens: MID, BACK or FRONT.

By default, you script into the middle screen (MID).

The three Alambik screens are created with this instruction and get refreshed only after they have been created.

You will therefore want to decide whether to use all three screens (for example, if you are doing video post production and want the video signal to be displayed in the BACK screen, graphic elements to be added in MID, and FRONT to be used for the foreground) or just one or two screens (in order to optimise refreshment calculation).

Each of the three Alambik screens can manage up to 65,535 layers.

With this instruction you can also designate a bitmap image to become the target of all graphic processing until the instruction "screen.end" is called. For example the instruction "picture.display", when used after "screen.set (%ObjectID_2D_object)" will display a picture in the graphic frame of the 2D object.

Parameters :

  • BACK
    MID
    FRONT
    ObjectID of the 2D object

Return Handle :

  • BACK
    MID
    FRONT
    ObjectID of the 2D object

Examples :