Thanks to everyone who responded to this and to RBTI support.
The original problem: 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 has just
made a choice from a drop down menu and 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]. This
occurs on the only the first keypress after the forms are presented. All
forms are legacy forms which have been upgraded. All of these forms have
been modified under 6.5, 6.5+, or 6.5++ so they have been rewritten by the
current forms designer.
The solution: Place a call to a routine which empties the keyboard
buffer before the form is presented with the EDIT USING formname command.
RUN cleartyp.cmd
EDIT USING formname
The cause: As near as I can figure out sometime before the form is
presented with the EDIT USING command something is causing the code for the
[Esc] keypress to be placed in the type ahead buffer without causing a
keyboard interrupt. When a key is pressed to enter data into the form a
keyboard interrupt is produced and the [Esc] keypress is processed before
the key which was actually pressed resulting in the presentation of the form
exit menu.
The "investigation":
At first it was only one user on one machine logged in as himself.
This led to the assumption that Novell was involved and that the problem
could be fixed by tweaking something in Novell. Things that were done that
didn't have any effect included:
Building a fresh login for the user.
Examining absolutely everything related to Novell for this user in the hope
of finding something different from other users. There were no differences.
Suggestions were made about checking for extra rbase.ini and rbase.cfg files
in the search path causing the problem. Extra files were found and it was
determined that they had absolutely no effect. RBWin 6.5++ seems to be
quite robust and looks only at the RBASE.INI file in the RBWin directory
from which RBase is launched and then looks only at the RBASE.CFG file which
is specified in the INI file. I found both an additional INI file, that
RBase apparently created recently in the application directory, and a bunch
of old RBASE.CFG files. Removal of them had absolutely no effect on
anything. I put them back and nothing changed and then I removed them
again. I could detect no effect whatsoever of removing these files. The
problem persisted.
We had the user log on to the Novell system, launch RBase, and typing with
only one finger recreate the problem. As testing proceded through several
days he could log on any machine as anyone and the form exit popup would
appear. One other user at the location started having the problem but five
others did not. The "finger of death" user could go to a machine where one
of the users, not having a problem, was working and cause the problem to appear.
The code was scanned for KEYMAP settings and there weren't any.
The whole situation has proven too wierd and this will be my last
word on it unless I come up with an explanation for what is causing it.
Bernie