Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is this a keyword but not in fox documentation
Message
From
18/05/2002 11:33:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658451
Message ID:
00658568
Views:
21
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform