Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return the border color of a graphical, image, or textual region.

border of REGION_NAME

REGION_NAME

The identifier for a graphical, image, or textual region.

Description

Use the border of function for a graphical, image, or textual region. The value returned is the integer value of the color associated with the border of the specified region.

If the border is invisible, ESL returns a negative integer value of the border color.

If no border or a size border was defined for the object, ESL returns the value -7 (for invisible white border, the default).

Example

response to NewScreen_PB

 add graphical region Go2_GR size 20 20

 at position 10 10

 color (border of Go) border

See Also

border Attribute Definition

color Keyword

make border COLOR Action Statement