Nadya:
BTW this is a old code from other programmer. Was working fine in previous version so I dont have the right to change the code if not causing error. Even if I now that is not right.
I make the changes you suggest me and also remove the set focus from the init to the activate event , got the same error, then moved to the key press event and also get the same problem.
I am ready to send the form to somebody in Microsoft because the error system did not help the programer to debug the problem.
I am really fustrated, did not find a possible cause for the Fatal Error.