Layer

<< Click to Display Table of Contents >>

 

Layer

Number This property defines, for a Screen, which layers are visible. For Screen objects, this property defines whether that Screen object is visible on that layer. This property's 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 logically grouped and displayed or hidden only by changing this property's mask.

Layer options

Layer options

Example:

Sub Screen1_Click()
  Layer = 1
End Sub

 

NOTE

Visibility of a Screen object depends on three factors: Its Visible property must be set to True, its parent object must be visible, and its Layer property must be enabled for a Screen.

Was this page useful?