>>There is a lot going on. I do not use views or cursors for these grids, they are connected to the table, I do not zap the
>>recordsource and change it. So now what? I have turned off row highlighting and selectOnEntry(easier to see what
>>is happening). The cursor is blinking in the 1st column textbox, I enter a value at the 6th character it moves to the
>>next column without firing an event (if I put a wait, it fires). If I physically click on the textbox the event will fire when
>>the leaving the textbox. I thought gridObj.columns(1).setfocus would be like clicking on the textbox.
>>
>UPDATE:
>I have removed code from all events except the page click and the textbox lostfocus. I put wait windows timeout 1
>in the page.click & page.refresh; grid.valid and grid.when; textbox.lostfocus & textbox when & textbox.keypress.
>The textbox maxlength is 6. When the last character is entered into the textbox, the kepress fies as expected
>but the lostfocus does not. I left arrow back to the textbox and arrow thru the characters, the keypress fies as
>expected and now the lostfocus fires. WHY didn't it fire the first time?
Do you happen to have Set Confirm On? It looks like it needs an additional navigational keypress to leave the textbox. Did it leave it at all after the sixth character was entered?