TTMSFNCTouchKeyItem Class
Collection item that defines the caption, position, size, colors, key values, and bitmaps for a single key on the touch keyboard.
API unit family: TMSFNCTouchKeyboard
Inherits from: TCollectionItem
Syntax
TTMSFNCTouchKeyItem = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| AltGrCaption | Caption shown when AltGr is active. |
| AltGrKeyValue | Virtual key code posted while AltGr is active. |
| AutoPost | When True, pressing this key posts the key event to the focused input control. |
| BitmapContainer | Read-only reference to the bitmap container used to resolve the key's named bitmap. |
| BorderColor | Key border color in the normal state. |
| BorderColorDown | Key border color in the pressed state. |
| Caption | Default caption displayed on the key face. |
| Color | Key background color in the normal state. |
| ColorDown | Key background color in the pressed state. |
| Height | Key height in pixels within the keyboard layout. |
| Hint | Tooltip shown when hovering over the key. |
| ImageName | Name of the bitmap in the container displayed on the key face. |
| KeyValue | Virtual key code posted in the normal state. |
| OldH | Saved original height of the key before the last zoom operation. |
| OldW | Saved original width of the key before the last zoom operation. |
| OldX | Saved original left position of the key before the last zoom operation. |
| OldY | Saved original top position of the key before the last zoom operation. |
| PictureDownState | Bitmap displayed on the key in its pressed state. |
| PictureNormalState | Bitmap displayed on the key in its normal state. |
| ShiftCaption | Caption shown when Shift is active. |
| ShiftKeyValue | Virtual key code posted while Shift is active. |
| ShortCut | Keyboard shortcut hint text shown in the key corner. |
| SpecialKey | Special function key; use skNone for a regular character key. |
| TextColor | Caption text color in the normal state. |
| TextColorDown | Caption text color in the pressed state. |
| Width | Key width in pixels within the keyboard layout. |
| X | Left position of the key within the keyboard layout. |
| Y | Top position of the key within the keyboard layout. |