User Tools

Site Tools


presskey_put_a_keystroke_in_the_buffer_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== PRESSKEY (put a keystroke in the buffer) ====== Previous pageReturn to chapter overviewNext page

PRESSKEY(keycode)

blk2blue.jpg

PRESSKEY Places one keystroke in the keyboard input buffer.
keycode An integer constant or keycode EQUATE label.

PRESSKEY places one keystroke in the Windows keyboard input buffer. Once placed in the keyboard buffer, the keycode is processed just as if the user had pressed the key. ALIAS does not transform a PRESSKEY keycode.

Example:

IF Action = 'Add'      !On the way into a memo control on an add record

Cus:MemoControl = FORMAT(TODAY(),@D1) & ' ' & FORMAT(CLOCK(),@T4)

                      !Pre-load first line of memo with date and time

PRESSKEY(EnterKey)    !and position user on second line

END

See Also:

PRESS

presskey_put_a_keystroke_in_the_buffer_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1