xHarbour Reference Documentation > Command Reference |
Dimensions the size of the keyboard buffer.
SET TYPEAHEAD TO <nKeyboardSize>
The SET TYPEAHEAD command sets the number of keystrokes that the internal keyboard buffer can hold. This command does not affect the amount of key strokes that can be added to the keyboard buffer programmatically using the KEYBOARD command. Before the new buffer size is set, the buffer is cleared first.
When <nKeyboardSize> is set to zero, keyboard polling is suspended. Explicit requests for keyboard input by using the NextKey() function, for example, enables the buffer temporarily.
See also: | CLEAR TYPEAHEAD, Inkey(), KEYBOARD, SetCancel(), Set() |
Category: | SET commands |
Source: | rtl\set.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com