Please enable JavaScript to view this site.

ESL Documentation

Attribute Definition

Define the priority with which an object is drawn.

priority is PRIORITY_NO

PRIORITY_NO

An integer value representing the priority of the object. If you do not specify a priority value, the object is given a default value of 0.

Description

When one object is the child of another object, the child is always drawn on top of its ancestor. Otherwise, the priority specification determines which object is on top of the other. An object with a higher priority is drawn on top of an object with a lower priority.

Use this statement to define the priority with which an object is drawn, such that it lies beneath or on top of other objects. The priority value can be any integer, negative or positive.

The priority specification must appear within the object definition.

You cannot define the priority of the following objects: primary regions, regions with in desktop ancestry, dialog boxes, or dialog controls.

Example

 

key Box at position 200 100

 priority is 2

 solid box 400 400

 disabled key Warning at position 200 100

 priority is 10

 text center "SYSTEM IS GOING DOWN AT 5:00 PM"

See Also

activate Action Statement