J.M. -
Thank you for your response. My analysis yesterday and today had
led me to that same conclusion and I will try your solution. The question
is: If [Esc] is stuck in the keybuffer why does it not appear in the
keypress stream until after a key is pressed to enter/edit data in the form?
I would guess because whatever is sticking the [Esc] into the buffer is not
triggering a keyboard interrupt.
Bernie
At 03:13 AM 8/30/2001 -0400, you wrote:
>
>Bernie :
>
>>>
>I have a client running RBWin 6.5++ under Win 95 and Novell 4.11.
>One of the users has the problem that when he enters data in a form
>presented with EDIT USING, the form menu exit menu (Save - Discard -
>Cxxcel)
>dialogue box pops up when the first key is pressed, regardless of what key
>was actually pressed. All keys are responded to as if they were [Esc].
><<
>
>I had a similar problem some time ago.
>It tooks me a lot of time to understand why ...
>It comes from a Escape char. that was staying in the keyboard buffer (never
>found why ...).
>
>I added this code before EDIT USING, and ... no problem anymore :
>
> -- Enlever /[Esc] qui traine dans le buffer du clavier ?
> -- Sinon, F8/F7 provoque sortie des FORMS en EDIT USING
> SET var vINT = (CHKKEY(0))
> IF vINT <> 0 THEN
> SET var vTEXT = (GETKEY(0))
> ENDIF
>
>Try it : May be it would help ?
>
>
>J.M. GRATIAS, Logimatique, France
>