# Class TCefFocusHandlerOwn

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFFocusHandler

## Declaration

`type TCefFocusHandlerOwn = class(TCefBaseRefCountedOwn, ICefFocusHandler)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefFocusHandlerOwn

## Overview

### Methods

| `procedure OnTakeFocus(const browser: ICefBrowser; next: Boolean); virtual;`
| `function OnSetFocus(const browser: ICefBrowser; source: TCefFocusSource): Boolean; virtual;`
| `procedure OnGotFocus(const browser: ICefBrowser); virtual;`
| `procedure RemoveReferences; virtual;`
| `constructor Create; virtual;`

## Description

### Methods

| `procedure OnTakeFocus(const browser: ICefBrowser; next: Boolean); virtual;`
This item has no description. Showing description inherited from ICefFocusHandler.OnTakeFocus. Called when the browser component is about to loose focus. For instance, if focus was on the last HTML element and the user pressed the TAB key. |next| will be true (1) if the browser is giving focus to the next component and false (0) if the browser is giving focus to the previous component.

| `function OnSetFocus(const browser: ICefBrowser; source: TCefFocusSource): Boolean; virtual;`
This item has no description. Showing description inherited from ICefFocusHandler.OnSetFocus. Called when the browser component is requesting focus. |source| indicates where the focus request is originating from. Return false (0) to allow the focus to be set or true (1) to cancel setting the focus.

| `procedure OnGotFocus(const browser: ICefBrowser); virtual;`
This item has no description. Showing description inherited from ICefFocusHandler.OnGotFocus. Called when the browser component has received focus.

| `procedure RemoveReferences; virtual;`
This item has no description. Showing description inherited from ICefFocusHandler.RemoveReferences. Custom procedure to clear all references.

| `constructor Create; virtual;`
This item has no description.

Generated by PasDoc 0.16.0-snapshot.