Unselecting a selected button in C++Builder 5
Is there a way to deselect a button after it has been clicked? I am working on a simple calculator for my programming class and found that if I use the mouse to click a button, and try to use enter on the keyboard, it calls the onclick event for that button instead of running onkeydown and then using the if (Key == VK_RETURN) that I have inside of the onkeydown function.
Is there a way to deselect the button so that I can use the form's onkeydown? I set all the tabstops to false so nothing is selected when the program is run the first time, but I can't find a way to deselect the button after someone clicked it with the mouse so that I can use the form's onkeydown again.