property MenuButton.ShowFocusRect as Boolean
Retrieves or sets a value that indicates whether the focus rectangle is visible or hidden.

TypeDescription
Boolean A boolean expression that indicates whether the focus rectangle is visible or hidden.

By default, the ShowFocusRect property is True. Use the ShowFocusRect property to hide the focus rectangle that's painted when the control has the focus.