Layer.setMode

Function/Meaning

Make it modal

Type
Layerclassmethod of
Syntax
setMode()
Arguments
Return value
None (void)
Explanation

Set the mode for the layer. When you set the mode (modally), only the child layers of that layer can receive focus and mouse messages.
.