Layer

<< Click to Display Table of Contents >>

 

Layer

The Layer property of a Screen defines in which layers a Screen object must appear. This value represents a 32-bit mask, one bit for each layer. Therefore, users can define up to 32 individual layers. Thus, Screen objects can be grouped logically and displayed or hidden only by changing the mask of the Layer property.

Available options for the Layer property

Bit2

Bit1

Bit0

Layer

Description

0

0

0

0

Hides all objects

0

0

1

1

Displays objects whose Layer property is configured as 1

0

1

0

2

Displays objects whose Layer property is configured as 2

0

1

1

3

Displays objects whose Layer property is configured as 1, 2, or 3

1

0

0

4

Displays objects whose Layer property is configured as 4

1

0

1

5

Displays objects whose Layer property is configured as 1, 4, or 5

1

1

0

6

Displays objects whose Layer property is configured as 2, 4, or 6

1

1

1

7

Displays objects whose Layer property is configured as 1, 2, 3, 4, 5, 6, or 7

 

NOTE

To display all objects of a Screen, configure the Layer property of a Screen to -1 (minus one).

Was this page useful?