Table of Contents

TTMSFNCCustomTouchKeyboard Class

Base class for the touch keyboard control; renders a full on-screen keyboard from a key-item collection, handles key presses, posting, special keys, auto-zoom, and custom layouts.

API unit family: TMSFNCTouchKeyboard Inherits from: TTMSFNCCustomControl Implements: ITMSFNCBitmapContainer

Syntax

TTMSFNCCustomTouchKeyboard = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer)

Properties

Name Description
PostWMCharOnly When True, key events are posted as WM_CHAR messages only, bypassing the normal key-down/key-up sequence.

Methods

Name Description
AutoZoom Scales the keyboard control to fit its parent bounds, adjusting all key sizes proportionally.
LoadKeybdLayout Loads a keyboard layout from a file and optionally resizes the keys or the keyboard control.
PostKey Posts a synthetic key event to the currently focused control or window.
SaveKeybdLayout Saves the current keyboard layout (key positions and sizes) to a file.
Zoom Scales the keyboard or its keys by the given horizontal and vertical factors.