You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2026-03-24 00:50:31 +02:00
117 lines
8.6 KiB
HTML
117 lines
8.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>cef4delphi: uCEFDialogHandler: Class TCustomDialogHandler</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="generator" content="PasDoc 0.17.0.snapshot">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<link rel="StyleSheet" type="text/css" href="bootstrap.min.css">
|
|
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
|
</head>
|
|
<body>
|
|
<span id="TCustomDialogHandler"></span><h1 class="cio">Class TCustomDialogHandler</h1>
|
|
<div class="sections">
|
|
<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>
|
|
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
|
|
<p class="unitlink">
|
|
<a href="uCEFDialogHandler.html">uCEFDialogHandler</a></p>
|
|
<h2 class="declaration">Declaration</h2>
|
|
<p class="declaration">
|
|
<code>type TCustomDialogHandler = class(<a class="normal" href="uCEFDialogHandler.TCefDialogHandlerOwn.html">TCefDialogHandlerOwn</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="uCEFDialogHandler.TCefDialogHandlerOwn.html">TCefDialogHandlerOwn</a></li>
|
|
<li class="thisitem">TCustomDialogHandler</li></ul><h2 class="overview">Overview</h2>
|
|
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
|
|
<table class="summary wide_list">
|
|
<tr class="list visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFDialogHandler.TCustomDialogHandler.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">
|
|
<tr class="list visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<td class="itemcode"><code>function <strong><a href="uCEFDialogHandler.TCustomDialogHandler.html#OnFileDialog-ICefBrowser-TCefFileDialogMode-ustring-ustring-TStrings-TStrings-TStrings-ICefFileDialogCallback-">OnFileDialog</a></strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; mode: <a href="uCEFTypes.html#TCefFileDialogMode">TCefFileDialogMode</a>; const title: <a href="uCEFTypes.html#ustring">ustring</a>; const defaultFilePath: <a href="uCEFTypes.html#ustring">ustring</a>; const acceptFilters, accept_extensions, accept_descriptions: TStrings; const callback: <a href="uCEFInterfaces.ICefFileDialogCallback.html">ICefFileDialogCallback</a>): Boolean; override;</code></td>
|
|
</tr>
|
|
<tr class="list2 visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<td class="itemcode"><code>procedure <strong><a href="uCEFDialogHandler.TCustomDialogHandler.html#RemoveReferences">RemoveReferences</a></strong>; override;</code></td>
|
|
</tr>
|
|
<tr class="list visibility-public">
|
|
<td class="visibility"><span class="badge vis-public">Public</span></td>
|
|
<td class="itemcode"><code>constructor <strong><a href="uCEFDialogHandler.TCustomDialogHandler.html#Create-IChromiumEvents-">Create</a></strong>(const events : <a href="uCEFInterfaces.IChromiumEvents.html">IChromiumEvents</a>); reintroduce; virtual;</code></td>
|
|
</tr>
|
|
<tr class="list2 visibility-public">
|
|
<td class="visibility"><span class="badge vis-public">Public</span></td>
|
|
<td class="itemcode"><code>destructor <strong><a href="uCEFDialogHandler.TCustomDialogHandler.html#Destroy">Destroy</a></strong>; override;</code></td>
|
|
</tr>
|
|
</table>
|
|
<h2 class="description">Description</h2>
|
|
<h3 class="detail">Fields</h3>
|
|
<table class="detail visibility-protected wide_list">
|
|
<tr class="list visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<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>
|
|
<table class="detail visibility-protected wide_list">
|
|
<tr class="list visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<td class="itemcode"><span id="OnFileDialog-ICefBrowser-TCefFileDialogMode-ustring-ustring-TStrings-TStrings-TStrings-ICefFileDialogCallback-"></span><code>function <strong>OnFileDialog</strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; mode: <a href="uCEFTypes.html#TCefFileDialogMode">TCefFileDialogMode</a>; const title: <a href="uCEFTypes.html#ustring">ustring</a>; const defaultFilePath: <a href="uCEFTypes.html#ustring">ustring</a>; const acceptFilters, accept_extensions, accept_descriptions: TStrings; const callback: <a href="uCEFInterfaces.ICefFileDialogCallback.html">ICefFileDialogCallback</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.ICefDialogHandler.html#OnFileDialog-ICefBrowser-TCefFileDialogMode-ustring-ustring-TStrings-TStrings-TStrings-ICefFileDialogCallback-">ICefDialogHandler.OnFileDialog</a>.</p><p>
|
|
|
|
|
|
<p>Called to run a file chooser dialog. |mode| represents the type of dialog to display. |title| to the title to be used for the dialog and may be NULL to show the default title ("Open" or "Save" depending on the mode).
|
|
|
|
<p>|default_file_path| is the path with optional directory and/or file name component that should be initially selected in the dialog.
|
|
|
|
<p>|accept_filters| are used to restrict the selectable file types and may be any combination of valid lower-cased MIME types (e.g. "text/*" or "image/*") and individual file extensions (e.g. ".txt" or ".png").
|
|
|
|
<p>|accept_extensions| provides the semicolon-delimited expansion of MIME types to file extensions (if known, or NULL string otherwise).
|
|
|
|
<p>|accept_descriptions| provides the descriptions for MIME types (if known, or NULL string otherwise). For example, the "image/*" mime type might have extensions ".png;.jpg;.bmp;..." and description "Image Files".
|
|
|
|
<p>|accept_filters|, |accept_extensions| and |accept_descriptions| will all be the same size. To display a custom dialog return true (1) and execute |callback| either inline or at a later time. To display the default dialog return false (0). If this function returns false (0) it may be called an additional time for the same dialog (both before and after MIME type expansion).
|
|
|
|
<p></p>
|
|
</td></tr>
|
|
</table>
|
|
<table class="detail visibility-protected wide_list">
|
|
<tr class="list visibility-protected">
|
|
<td class="visibility"><span class="badge vis-protected">Protected</span></td>
|
|
<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.ICefDialogHandler.html#RemoveReferences">ICefDialogHandler.RemoveReferences</a>.</p><p>
|
|
Custom procedure to clear all references. </p>
|
|
</td></tr>
|
|
</table>
|
|
<table class="detail visibility-public wide_list">
|
|
<tr class="list visibility-public">
|
|
<td class="visibility"><span class="badge vis-public">Public</span></td>
|
|
<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>
|
|
<table class="detail visibility-public wide_list">
|
|
<tr class="list visibility-public">
|
|
<td class="visibility"><span class="badge vis-public">Public</span></td>
|
|
<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>
|
|
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.17.0.snapshot</a>. </em>
|
|
</span>
|
|
</body></html>
|