Layer.onFocus

Function/Meaning

Got focus

Type
LayerclassEvent
Syntax
onFocus(focused, direction)
Arguments
focused

A layer object that has lost focus.

direction

True if the focus is changed by a backward search of the focus, false if it is done by a forward search of the focus.

Return value
None (void)
Explanation

Called when the layer gets focus.