it may be a simple problem, but I am stuck:
I have a form with some TEdit single line components. I want to check that the value is a floating point before hitting OK button. So I have a function to check for this on TEdit->Exit() - it works OK. But than if the value is error, I want to set the focus back to that edit box. If I do it with SetFocus() message, the edit box looses its mouse input (SetFocus() enables keyboard input only - apparently).
How to set the focus to an edit box?
Thanks for your help,