I have a problem trying to figure out why a TButton control on a dialog does not respond to the Enter/Return keypress as I would expect whenever the button has focus. As I move from one TGet control to the next using the Enter/Return key, I eventually land on the TButton control, but pressing Enter/Return again acts like a VK_TAB and moves to the next control without firing the bAction. If I tab backwards to the TButton control, it does work the way I would expect (fires the bAction when Enter/Return is pressed). I've tried removing all the customized code I could to narrow down the possibilities, but can't figure out where to trap the VK_RETURN keypress inside the TButton code. What am I doing wrong?
- Steve
FiveWin v1.9.5