>I've spent about 2 hours on this and I am my wits end.
>
>On one particular form, whenever I press enter to exit any textbox, focus remains on the current control and the cursor jumps back to the first character. I have to press Tab to move to another field, or if I fill in the field completely I move on to the next field, which is standard CONFIRM OFF behavior.
>
>I'm using VFP 6.0
>CONFIRM is OFF.
>The textbox (just for testing) is from the base TEXTBOX class, and does not have any of is properties overwritten except for controlsource, which I set to ThisForm.Comment just for testing.
>
>I have other forms built on a virtually identical framework that do not manifest this behavior.
>
>I did some research before I posted this, saw the informaion about Default=.T. in pushbuttons and thought I had found my solution, but even though I do have several pushbuttons on the form, none of them have Default=.T.
>
>Can anyone help me out?
This is proper Windows behavior..almost...you should have a command button with Default=.T. Under WIndows, Enter means "I'm done with this form...execute the default behavior".
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer