>I have the following in some code I am trying to debug. Please consider...
>
>
on key label LEFTMOUSE
>on key label RIGHTMOUSE keyboard "{ESC}" plain
>on key label ENTER keyboard "{ESC}" plain
>activate window wzlocate
>
>What is
plain? I cannot find this word in any documentation. Not even in FPD Help.
>
>TIA
It exists in Fox2.6 help, VFP5,6,7 (and I believe VFP3) :
From 2.6 help :
"KEYBOARD
[PLAIN]
[CLEAR]
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Places the specified character expression in the keyboard buffer.
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Use KEYBOARD to stuff the keyboard buffer with an arbitrary character string that remains in the buffer until FoxPro looks for input. At that point, the data in the keyboard buffer is read and acted upon as if the data had been entered directly from the keyboard.
You can use KEYBOARD to create self-running demonstration systems that showcase your applications.
The character expression is stuffed into the keyboard buffer. The character expression can be a character string, a key label, a set of key labels, or a user-defined function (UDF) that returns a character expression.
If is a key label, it must be enclosed in braces and quotes. For example,
KEYBOARD '{CTRL+LEFTARROW}'
For a listing of key labels, see ON KEY LABEL.
The keyboard buffer can be stuffed with up to 128 keystrokes. Once the keyboard buffer is full, additional keystrokes are discarded.
PLAIN
If you have keyboard macros defined or ON KEY LABELs active, you can include PLAIN to bypass these key assignments. PLAIN stuffs the keyboard with the literal key character, not the key assignment.
For example, if you have assigned a routine to the A key with ON KEY LABEL and A is included in , use PLAIN to stuff the keyboard with the letter A. The routine assigned to A isn't executed."
Cetin