>>I am working in a data entry screen. My users dont't like to use mouse, so i have a menu like a label
>>and i execute data entry forms with the key press event (if nkeycode=13).
>>All my forms are based on a class. The problem is that always the focus is on the second TextBox
>>(because of chr(13)). As the code for the KeyPres Event is on the class, i don't know the name of
>>the first control to set the focus.
>>I tried KEYBOARD CLEAR, CLEAR TYPEAHEAD i cannot solve the problem.
>>Is there any easy way to overcome this problem (ex. in VB nKeyCode=0)?
>Change the TAB order of your form. If I'm understanding you correctly, your form initiates with focus on the second Textbox?
Thank you all. The solution is, to use NODEFAULT
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only