ZONE keyword

Set an interactive rectangle that is not visible (unless DEBUG is set). A zone must always be assigned to a variable name.

Syntax

ZONE (x1, y1)-(x2, y2)

Parameters

  • x1: integer of horizontal position 1 (required)
  • y1: integer of vertical position 1 (required)
  • x2: integer of horizontal position 2 (required)
  • y2: integer of vertical position 2 (required)

Example

DEBUG  'To see the rectangle. Remove this command afterward.
DIM myZone AS ZONE
myZone = ZONE (10, 10)-(630, 100)

Go back to list of Keywords.