# Record TCefKeyEvent

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefKeyEvent = record`

## Description

Structure representing keyboard event information.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/internal/cef_types.h">CEF source file: /include/internal/cef_types.h (cef_key_event_t))

## Overview

### Fields

Public | `size: NativeUInt;`
Public | `kind: TCefKeyEventType;`
Public | `modifiers: TCefEventFlags;`
Public | `windows_key_code: Integer;`
Public | `native_key_code: Integer;`
Public | `is_system_key: Integer;`
Public | `character: WideChar;`
Public | `unmodified_character: WideChar;`
Public | `focus_on_editable_field: Integer;`

## Description

### Fields

Public | `size: NativeUInt;`
Size of this structure.

Public | `kind: TCefKeyEventType;`
The type of keyboard event. It's called 'type' in the original CEF source code.

Public | `modifiers: TCefEventFlags;`
Bit flags describing any pressed modifier keys. See TCefEventFlags for values.

Public | `windows_key_code: Integer;`
The Windows key code for the key event. This value is used by the DOM specification. Sometimes it comes directly from the event (i.e. on Windows) and sometimes it's determined using a mapping function. See WebCore/platform/chromium/KeyboardCodes.h for the list of values.

Public | `native_key_code: Integer;`
The actual key code genenerated by the platform.

Public | `is_system_key: Integer;`
Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details). This value will always be false on non-Windows platforms.

Public | `character: WideChar;`
The character generated by the keystroke.

Public | `unmodified_character: WideChar;`
Same as |character| but unmodified by any concurrently-held modifiers (except shift). This is useful for working out shortcut keys.

Public | `focus_on_editable_field: Integer;`
True if the focus is currently on an editable field on the page. This is useful for determining if standard key events should be intercepted.

Generated by PasDoc 1.0.4.