Table of Contents

TTMSFNCTouchKeyboard.PostKey Method

Posts a synthetic key event to the currently focused control or window.

API unit family: TMSFNCTouchKeyboard Declaring type: TTMSFNCTouchKeyboard Inherited from: TTMSFNCCustomTouchKeyboard

Syntax

procedure PostKey(AKey: Word; const AShift: TShiftState; AExtendedKeyBD: Boolean; AIndex: Integer);

Parameters

Name Description
AKey Virtual key code to post.
AShift Modifier keys active at the time of the post.
AExtendedKeyBD When True, the extended-key flag is set in the posted event.
AIndex Zero-based index of the key item in the collection.