Please enable JavaScript to view this site.

ESL Documentation

A graphical region is a rectangular portion of the screen in which other objects can be drawn.

 

A graphical region can have both a background color and a border color. This means you can create a logical division on the screen by defining one or more graphical regions and displaying other objects in them. In its simplest use, a graphical region is a way of painting all or part of the screen, and of setting off the painted area by displaying a border of a different color.

 

The initial attributes of a graphical region are defined in a graphical region definition. You can change any of these attributes during runtime.

 

If you define a region with just the required specifications, such as:

 

region Store size 50 50 at position 100 100

 

in a windowed application, ESL compiles this region as:

 

enabled visible black graphical region Store size 50 50

    at position 100 100

    white foreground

    priority is 0 parameter is ""

 

The parent defaults to the primary region.