- Function/Meaning
-
Set modal state
- Type
-
Method of Layer class
- Syntax
-
setMode()
- Arguments
-
None
- Return Value
-
None (void)
- Description
-
Sets the mode for the layer. When a mode is set (when it becomes modal), only the child layers of that layer will be able to receive focus and mouse messages.