2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFFocusHandler: Class TCustomFocusHandler< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-04-04 18:01:24 +02:00
< meta name = "generator" content = "PasDoc 1.0.4" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
< / style > < / head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "TCustomFocusHandler" > < / span > < h1 class = "cio" > Class TCustomFocusHandler< / h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Fields" > Fields< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < / div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFFocusHandler.html" > uCEFFocusHandler< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type TCustomFocusHandler = class(< a class = "normal" href = "uCEFFocusHandler.TCefFocusHandlerOwn.html" > TCefFocusHandlerOwn< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p class = "nodescription" > This item has no description.< / p > < span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > TInterfacedObject< / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedOwn.html" > TCefBaseRefCountedOwn< / a > < / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFFocusHandler.TCefFocusHandlerOwn.html" > TCefFocusHandlerOwn< / a > < / li >
< li class = "thisitem" > TCustomFocusHandler< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Fields" > < / span > < h3 class = "summary" > Fields< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#FEvents" > FEvents< / a > < / strong > : Pointer;< / code > < / td >
< / tr >
< / table >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#OnTakeFocus-ICefBrowser-Boolean-" > OnTakeFocus< / a > < / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; next: Boolean); override;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#OnSetFocus-ICefBrowser-TCefFocusSource-" > OnSetFocus< / a > < / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; source: < a href = "uCEFTypes.html#TCefFocusSource" > TCefFocusSource< / a > ): Boolean; override;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#OnGotFocus-ICefBrowser-" > OnGotFocus< / a > < / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ); override;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#RemoveReferences" > RemoveReferences< / a > < / strong > ; override;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > constructor < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#Create-IChromiumEvents-" > Create< / a > < / strong > (const events : < a href = "uCEFInterfaces.IChromiumEvents.html" > IChromiumEvents< / a > ); reintroduce; virtual;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > destructor < strong > < a href = "uCEFFocusHandler.TCustomFocusHandler.html#Destroy" > Destroy< / a > < / strong > ; override;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Fields< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "FEvents" > < / span > < code > < strong > FEvents< / strong > : Pointer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
< h3 class = "detail" > Methods< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "OnTakeFocus-ICefBrowser-Boolean-" > < / span > < code > procedure < strong > OnTakeFocus< / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; next: Boolean); override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefFocusHandler.html#OnTakeFocus-ICefBrowser-Boolean-" > ICefFocusHandler.OnTakeFocus< / a > .< / p > < p >
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. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "OnSetFocus-ICefBrowser-TCefFocusSource-" > < / span > < code > function < strong > OnSetFocus< / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; source: < a href = "uCEFTypes.html#TCefFocusSource" > TCefFocusSource< / a > ): Boolean; override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefFocusHandler.html#OnSetFocus-ICefBrowser-TCefFocusSource-" > ICefFocusHandler.OnSetFocus< / a > .< / p > < p >
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. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "OnGotFocus-ICefBrowser-" > < / span > < code > procedure < strong > OnGotFocus< / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ); override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefFocusHandler.html#OnGotFocus-ICefBrowser-" > ICefFocusHandler.OnGotFocus< / a > .< / p > < p >
Called when the browser component has received focus. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "RemoveReferences" > < / span > < code > procedure < strong > RemoveReferences< / strong > ; override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefFocusHandler.html#RemoveReferences" > ICefFocusHandler.RemoveReferences< / a > .< / p > < p >
Custom procedure to clear all references. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Create-IChromiumEvents-" > < / span > < code > constructor < strong > Create< / strong > (const events : < a href = "uCEFInterfaces.IChromiumEvents.html" > IChromiumEvents< / a > ); reintroduce; virtual;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Destroy" > < / span > < code > destructor < strong > Destroy< / strong > ; override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-04-04 18:01:24 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.4< / a > . < / em >
2024-02-24 12:01:31 +01:00
< / span >
< / body > < / html >