>>
>>FYI, Enter is not supposed to advance to the next field. Enter is supposed to fire the Click method of the default command button.
>
>I found the problem. As it turns out I put a SetFocus to command button in the init of the form .I don't know why that created a problem but removing it solved it. What should the ENTER key do if there is no default command button? I'm in the process of rewriting an old legacy program. The users are use to using the ENTER key to advance to the next field. I'd like to mimic this behavior if possible. any suggestions?
Then use Enter. Windows UI guidelines are just that...guidelines.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer