Hiding Selections When Not in Focus
Overview
By default, the control displays the focus rectangle and highlights selections, regardless of whether the control has the focus. If you prefer, you can set the control to hide the focus rectangle and selection highlighting when the control does not have the focus. In this case, the control will still display the focus and highlight selections when the control regains the focus. This does not apply when EditModePermanent is set to True, in which case the focus rectangle and selection highlighting are not displayed.