ObjectID =  event .screen .create  (  Procedure ,  PosX ,  PosY ,  Width ,  Height ,  Flag  )  
                                                         
Description :

This instruction changes an area of the screen into an interactive element which can react to the mouse.

Parameters :

  • Name of the procedure managing the events.
  • X component of the area's top left pixel position.
  • Y component of the area's top left pixel position.
  • Width of the area, expressed in pixels.
  • Height of the area, expressed in pixels.
  • ALL
    RELEASE_BUTTON
    PRESS_LEFT_BUTTON
    PRESS_RIGHT_BUTTON
    RELEASE_LEFT_BUTTON
    RELEASE_RIGHT_BUTTON
    DOUBLE_CLICK_LEFT_BUTTON
    DOUBLE_CLICK_RIGHT_BUTTON
    EXIT_ZONE
    ENTER_ZONE
    RELEASE_BUTTON

Return Handle :

  • ObjectID of the event

Notes :


When creating the procedure, you should always organize its two parameters in the following order: Event ObjectID, Event Status.

Examples :