So, I'm running into an issue, which I believe has to do with button focus.

Lets say you have a search bar in your program where the user could search for files.
You set AcceptButton to the associated button for enabling the search field.

In my program, once the enter button is pressed and the search is performed, that search button remains highlighted.

I have several search fields like this, all of which I've set the AcceptButton on - for ease of use.

Honestly, I just think its visually annoying to have these random buttons highlighted after being pressed.

I've tried setting the focus to other objects (adding that code below the various search button codes).
Unfortunately, that didnt work as I had hoped - it disabled the user for being able to type anything into the search fields.

Any help would be greatly appreciated.
Thank you for your time!