CEF4Delphi/docs/html/uCEFDialogHandler.TCefDialogHandlerOwn.html

87 lines
6.8 KiB
HTML
Raw Permalink Normal View History

2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>cef4delphi: uCEFDialogHandler: Class TCefDialogHandlerOwn</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCefDialogHandlerOwn"></span><h1 class="cio">Class TCefDialogHandlerOwn</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">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</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 TCefDialogHandlerOwn = class(<a class="normal" href="uCEFBaseRefCounted.TCefBaseRefCountedOwn.html">TCefBaseRefCountedOwn</a>, <a class="normal" href="uCEFInterfaces.ICefDialogHandler.html">ICefDialogHandler</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="thisitem">TCefDialogHandlerOwn</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
2024-06-14 19:17:43 +02:00
<td class="itemcode"><code>function <strong><a href="uCEFDialogHandler.TCefDialogHandlerOwn.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, 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; virtual;</code></td>
2024-02-24 12:01:31 +01:00
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFDialogHandler.TCefDialogHandlerOwn.html#RemoveReferences">RemoveReferences</a></strong>; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uCEFDialogHandler.TCefDialogHandlerOwn.html#Create">Create</a></strong>; virtual;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
2024-06-14 19:17:43 +02:00
<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, 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; virtual;</code></td>
2024-02-24 12:01:31 +01:00
</tr>
<tr><td colspan="2">
2024-06-14 19:17:43 +02:00
<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 (&quot;Open&quot; or &quot;Save&quot; 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. &quot;text/*&quot; or &quot;image/*&quot;) and individual file extensions (e.g. &quot;.txt&quot; or &quot;.png&quot;).
<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 &quot;image/*&quot; mime type might have extensions &quot;.png;.jpg;.bmp;...&quot; and description &quot;Image Files&quot;.
<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>
2024-02-24 12:01:31 +01:00
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="RemoveReferences"></span><code>procedure <strong>RemoveReferences</strong>; virtual;</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 wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>; virtual;</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.16.0-snapshot</a>. </em>
</span>
</body></html>