Returns the last pressed key or the last internal event performed, as defined in the Keyboard Mapping repository, in Alpha format.
|
Syntax:
|
KbGet(numeric)
|
Parameters:
|
numeric - 1 returns the internal event and 0 returns the function key.
|
Returns:
|
An Alpha string
|
Example:
|
KbGet (0) returns the Alpha string 'F2' if the F2 key is pressed.
|
Exceptions:
|
This function is not supported for Rich Client tasks. To implement the behavior of this function in Rich Client tasks, use Raise Event operations and Event handlers.
|
See also:
|
KbPut
The Online Samples project (program TF05)
|