Called when the focus changes, param is if we have it (true) or are losing it (false).
See Implementation
Called when the focus changes, param is if we have it (true) or are losing it (false).