# Class TCefTextfieldDelegateOwn

Description
Hierarchy
Methods

## Unit

uCEFTextfieldDelegate

## Declaration

`type TCefTextfieldDelegateOwn = class(TCefViewDelegateOwn, ICefTextfieldDelegate)`

## Description

Implement this interface to handle Textfield events. The functions of this interface will be called on the browser process UI thread unless otherwise indicated.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_textfield_delegate_capi.h">CEF source file: /include/capi/views/cef_textfield_delegate_capi.h (cef_textfield_delegate_t))

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefViewDelegateOwn
- TCefTextfieldDelegateOwn

## Overview

### Methods

Protected | `procedure OnKeyEvent(const textfield: ICefTextfield; const event: TCefKeyEvent; var aResult : boolean); virtual;`
Protected | `procedure OnAfterUserAction(const textfield: ICefTextfield); virtual;`
Protected | `procedure InitializeCEFMethods; override;`
Public | `constructor Create; override;`

## Description

### Methods

Protected | `procedure OnKeyEvent(const textfield: ICefTextfield; const event: TCefKeyEvent; var aResult : boolean); virtual;`
Called when |textfield| receives a keyboard event. |event| contains information about the keyboard event. Return true (1) if the keyboard event was handled or false (0) otherwise for default handling.

Protected | `procedure OnAfterUserAction(const textfield: ICefTextfield); virtual;`
Called after performing a user action that may change |textfield|.

Protected | `procedure InitializeCEFMethods; override;`
Links the methods in the internal CEF record data pointer with the methods in this class.

Public | `constructor Create; override;`
This item has no description.

Generated by PasDoc 1.0.4.