2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFDragHandler: Class TCustomDragHandler< / 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 = "TCustomDragHandler" > < / span > < h1 class = "cio" > Class TCustomDragHandler< / 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 = "uCEFDragHandler.html" > uCEFDragHandler< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type TCustomDragHandler = class(< a class = "normal" href = "uCEFDragHandler.TCefDragHandlerOwn.html" > TCefDragHandlerOwn< / 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 = "uCEFDragHandler.TCefDragHandlerOwn.html" > TCefDragHandlerOwn< / a > < / li >
< li class = "thisitem" > TCustomDragHandler< / 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 = "uCEFDragHandler.TCustomDragHandler.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 > function < strong > < a href = "uCEFDragHandler.TCustomDragHandler.html#OnDragEnter-ICefBrowser-ICefDragData-TCefDragOperations-" > OnDragEnter< / a > < / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; const dragData: < a href = "uCEFInterfaces.ICefDragData.html" > ICefDragData< / a > ; mask: < a href = "uCEFTypes.html#TCefDragOperations" > TCefDragOperations< / a > ): 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 > procedure < strong > < a href = "uCEFDragHandler.TCustomDragHandler.html#OnDraggableRegionsChanged-ICefBrowser-ICefFrame-NativeUInt-PCefDraggableRegionArray-" > OnDraggableRegionsChanged< / a > < / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; const frame: < a href = "uCEFInterfaces.ICefFrame.html" > ICefFrame< / a > ; regionsCount: < a href = "uCEFTypes.html#NativeUInt" > NativeUInt< / a > ; const regions: < a href = "uCEFTypes.html#PCefDraggableRegionArray" > PCefDraggableRegionArray< / a > ); 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 = "uCEFDragHandler.TCustomDragHandler.html#RemoveReferences" > RemoveReferences< / a > < / strong > ; override;< / 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 > constructor < strong > < a href = "uCEFDragHandler.TCustomDragHandler.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 = "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 > destructor < strong > < a href = "uCEFDragHandler.TCustomDragHandler.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 = "OnDragEnter-ICefBrowser-ICefDragData-TCefDragOperations-" > < / span > < code > function < strong > OnDragEnter< / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; const dragData: < a href = "uCEFInterfaces.ICefDragData.html" > ICefDragData< / a > ; mask: < a href = "uCEFTypes.html#TCefDragOperations" > TCefDragOperations< / 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.ICefDragHandler.html#OnDragEnter-ICefBrowser-ICefDragData-TCefDragOperations-" > ICefDragHandler.OnDragEnter< / a > .< / p > < p >
Called when an external drag event enters the browser window. |dragData| contains the drag event data and |mask| represents the type of drag operation. Return false (0) for default drag handling behavior or true (1) to cancel the drag event. < / 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 = "OnDraggableRegionsChanged-ICefBrowser-ICefFrame-NativeUInt-PCefDraggableRegionArray-" > < / span > < code > procedure < strong > OnDraggableRegionsChanged< / strong > (const browser: < a href = "uCEFInterfaces.ICefBrowser.html" > ICefBrowser< / a > ; const frame: < a href = "uCEFInterfaces.ICefFrame.html" > ICefFrame< / a > ; regionsCount: < a href = "uCEFTypes.html#NativeUInt" > NativeUInt< / a > ; const regions: < a href = "uCEFTypes.html#PCefDraggableRegionArray" > PCefDraggableRegionArray< / 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.ICefDragHandler.html#OnDraggableRegionsChanged-ICefBrowser-ICefFrame-NativeUInt-PCefDraggableRegionArray-" > ICefDragHandler.OnDraggableRegionsChanged< / a > .< / p > < p >
Called whenever draggable regions for the browser window change. These can be specified using the '-webkit-app-region: drag/no-drag' CSS-property. If draggable regions are never defined in a document this function will also never be called. If the last draggable region is removed from a document this function will be called with an NULL vector. < / 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.ICefDragHandler.html#RemoveReferences" > ICefDragHandler.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 >