>Mike,
>
>SET CONFIRM is scoped to the data session. Do you have one form in the default DS and the other in a private DS?
>
>>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.
It did turn out to be a Command button with Default=.T..
Even though I never set the commands default to .T., somehow VFP decided to do that for me any time the command button Refresh() code ran. I ended up adding the line This.Default=.F. as the last line of the button's refresh code. Over 2 hours of a beautiful Saturday down the drain......
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