mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
376 lines
24 KiB
HTML
376 lines
24 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>cef4delphi: uCEFLabelButtonComponent: Class TCEFLabelButtonComponent</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="TCEFLabelButtonComponent"></span><h1 class="cio">Class TCEFLabelButtonComponent</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 class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
|
||
|
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
|
||
|
<p class="unitlink">
|
||
|
<a href="uCEFLabelButtonComponent.html">uCEFLabelButtonComponent</a></p>
|
||
|
<h2 class="declaration">Declaration</h2>
|
||
|
<p class="declaration">
|
||
|
<code>type TCEFLabelButtonComponent = class(<a class="normal" href="uCEFButtonComponent.TCEFButtonComponent.html">TCEFButtonComponent</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">TObject</li>
|
||
|
<li class="ancestor">TPersistent</li>
|
||
|
<li class="ancestor">TComponent</li>
|
||
|
<li class="ancestor"><a class="normal" href="uCEFViewComponent.TCEFViewComponent.html">TCEFViewComponent</a></li>
|
||
|
<li class="ancestor"><a class="normal" href="uCEFButtonComponent.TCEFButtonComponent.html">TCEFButtonComponent</a></li>
|
||
|
<li class="thisitem">TCEFLabelButtonComponent</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">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code><strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#FLabelButton">FLabelButton</a></strong>: <a href="uCEFInterfaces.ICefLabelButton.html">ICefLabelButton</a>;</code></td>
|
||
|
</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><strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#FText">FText</a></strong>: <a href="uCEFTypes.html#ustring">ustring</a>;</code></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<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>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#DestroyView">DestroyView</a></strong>; override;</code></td>
|
||
|
</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="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#Initialize">Initialize</a></strong>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetInitialized">GetInitialized</a></strong>: boolean; override;</code></td>
|
||
|
</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>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsView">GetAsView</a></strong>: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsButton">GetAsButton</a></strong>: <a href="uCEFInterfaces.ICefButton.html">ICefButton</a>; override;</code></td>
|
||
|
</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>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsLabelButton">GetAsLabelButton</a></strong>: <a href="uCEFInterfaces.ICefLabelButton.html">ICefLabelButton</a>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsMenuButton">GetAsMenuButton</a></strong>: <a href="uCEFInterfaces.ICefMenuButton.html">ICefMenuButton</a>; virtual;</code></td>
|
||
|
</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>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetText">GetText</a></strong>: <a href="uCEFTypes.html#ustring">ustring</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>function <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetImage-TCefButtonState-">GetImage</a></strong>(button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>): <a href="uCEFInterfaces.ICefImage.html">ICefImage</a>;</code></td>
|
||
|
</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="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetText-ustring-">SetText</a></strong>(const text_: <a href="uCEFTypes.html#ustring">ustring</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr class="list">
|
||
|
<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="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetImage-TCefButtonState-ICefImage-">SetImage</a></strong>(button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>; const image: <a href="uCEFInterfaces.ICefImage.html">ICefImage</a>);</code></td>
|
||
|
</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="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#doCreateCustomView">doCreateCustomView</a></strong>; override;</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>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#CreateLabelButton-ustring-">CreateLabelButton</a></strong>(const aText : <a href="uCEFTypes.html#ustring">ustring</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr class="list2">
|
||
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetTextColor-TCefButtonState-TCefColor-">SetTextColor</a></strong>(for_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>; color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</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>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetEnabledTextColors-TCefColor-">SetEnabledTextColors</a></strong>(color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr class="list2">
|
||
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetFontList-ustring-">SetFontList</a></strong>(const font_list: <a href="uCEFTypes.html#ustring">ustring</a>);</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>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetHorizontalAlignment-TCefHorizontalAlignment-">SetHorizontalAlignment</a></strong>(alignment: <a href="uCEFTypes.html#TCefHorizontalAlignment">TCefHorizontalAlignment</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr class="list2">
|
||
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetMinimumSize-TCefSize-">SetMinimumSize</a></strong>(const size_: <a href="uCEFTypes.TCefSize.html">TCefSize</a>);</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>procedure <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetMaximumSize-TCefSize-">SetMaximumSize</a></strong>(const size_: <a href="uCEFTypes.TCefSize.html">TCefSize</a>);</code></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
|
||
|
<table class="summary 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"><code>property <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#Text">Text</a></strong> : <a href="uCEFTypes.html#ustring">ustring</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetText">GetText</a> write <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetText-ustring-">SetText</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list2">
|
||
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||
|
<td class="itemcode"><code>property <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#Image">Image</a></strong>[button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>]: <a href="uCEFInterfaces.ICefImage.html">ICefImage</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetImage-TCefButtonState-">GetImage</a> write <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetImage-TCefButtonState-ICefImage-">SetImage</a>;</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>property <strong><a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#AsMenuButton">AsMenuButton</a></strong> : <a href="uCEFInterfaces.ICefMenuButton.html">ICefMenuButton</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsMenuButton">GetAsMenuButton</a>;</code></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<h2 class="description">Description</h2>
|
||
|
<h3 class="detail">Fields</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>
|
||
|
<td class="itemcode"><span id="FLabelButton"></span><code><strong>FLabelButton</strong>: <a href="uCEFInterfaces.ICefLabelButton.html">ICefLabelButton</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="FText"></span><code><strong>FText</strong>: <a href="uCEFTypes.html#ustring">ustring</a>;</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 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="DestroyView"></span><code>procedure <strong>DestroyView</strong>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="Initialize"></span><code>procedure <strong>Initialize</strong>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetInitialized"></span><code>function <strong>GetInitialized</strong>: boolean; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetAsView"></span><code>function <strong>GetAsView</strong>: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetAsButton"></span><code>function <strong>GetAsButton</strong>: <a href="uCEFInterfaces.ICefButton.html">ICefButton</a>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetAsLabelButton"></span><code>function <strong>GetAsLabelButton</strong>: <a href="uCEFInterfaces.ICefLabelButton.html">ICefLabelButton</a>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetAsMenuButton"></span><code>function <strong>GetAsMenuButton</strong>: <a href="uCEFInterfaces.ICefMenuButton.html">ICefMenuButton</a>; virtual;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetText"></span><code>function <strong>GetText</strong>: <a href="uCEFTypes.html#ustring">ustring</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="GetImage-TCefButtonState-"></span><code>function <strong>GetImage</strong>(button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>): <a href="uCEFInterfaces.ICefImage.html">ICefImage</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="SetText-ustring-"></span><code>procedure <strong>SetText</strong>(const text_: <a href="uCEFTypes.html#ustring">ustring</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="SetImage-TCefButtonState-ICefImage-"></span><code>procedure <strong>SetImage</strong>(button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>; const image: <a href="uCEFInterfaces.ICefImage.html">ICefImage</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></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="doCreateCustomView"></span><code>procedure <strong>doCreateCustomView</strong>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
ICefViewDelegateEvents</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="CreateLabelButton-ustring-"></span><code>procedure <strong>CreateLabelButton</strong>(const aText : <a href="uCEFTypes.html#ustring">ustring</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Create a new LabelButton. |aText| will be shown on the LabelButton and used as the default accessible name. </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="SetTextColor-TCefButtonState-TCefColor-"></span><code>procedure <strong>SetTextColor</strong>(for_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>; color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Sets the text color shown for the specified button |for_state| to |color|. </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="SetEnabledTextColors-TCefColor-"></span><code>procedure <strong>SetEnabledTextColors</strong>(color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Sets the text colors shown for the non-disabled states to |color|. </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="SetFontList-ustring-"></span><code>procedure <strong>SetFontList</strong>(const font_list: <a href="uCEFTypes.html#ustring">ustring</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
|
||
|
|
||
|
<p>Sets the font list. The format is "<FONT_FAMILY_LIST>,[STYLES] <SIZE>", where:
|
||
|
|
||
|
<p></p>
|
||
|
|
||
|
<pre class="preformatted">
|
||
|
- FONT_FAMILY_LIST is a comma-separated list of font family names,
|
||
|
- STYLES is an optional space-separated list of style names (case-sensitive
|
||
|
"Bold" and "Italic" are supported), and
|
||
|
- SIZE is an integer font size in pixels with the suffix "px".</pre>
|
||
|
|
||
|
<p>
|
||
|
|
||
|
<p>Here are examples of valid font description strings:
|
||
|
|
||
|
<p></p>
|
||
|
|
||
|
<pre class="preformatted">
|
||
|
- "Arial, Helvetica, Bold Italic 14px"
|
||
|
- "Arial, 14px"</pre>
|
||
|
|
||
|
<p> </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="SetHorizontalAlignment-TCefHorizontalAlignment-"></span><code>procedure <strong>SetHorizontalAlignment</strong>(alignment: <a href="uCEFTypes.html#TCefHorizontalAlignment">TCefHorizontalAlignment</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Sets the horizontal alignment; reversed in RTL. Default is CEF_HORIZONTAL_ALIGNMENT_CENTER. </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="SetMinimumSize-TCefSize-"></span><code>procedure <strong>SetMinimumSize</strong>(const size_: <a href="uCEFTypes.TCefSize.html">TCefSize</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Reset the minimum size of this LabelButton to |size|. </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="SetMaximumSize-TCefSize-"></span><code>procedure <strong>SetMaximumSize</strong>(const size_: <a href="uCEFTypes.TCefSize.html">TCefSize</a>);</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Reset the maximum size of this LabelButton to |size|. </p>
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
<h3 class="detail">Properties</h3>
|
||
|
<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="Text"></span><code>property <strong>Text</strong> : <a href="uCEFTypes.html#ustring">ustring</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetText">GetText</a> write <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetText-ustring-">SetText</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Gets and sets the text shown on the LabelButton. By default |text| will also be used as the accessible name. </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="Image"></span><code>property <strong>Image</strong>[button_state: <a href="uCEFTypes.html#TCefButtonState">TCefButtonState</a>]: <a href="uCEFInterfaces.ICefImage.html">ICefImage</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetImage-TCefButtonState-">GetImage</a> write <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#SetImage-TCefButtonState-ICefImage-">SetImage</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Returns the image shown for |button_state|. If no image exists for that state then the image for CEF_BUTTON_STATE_NORMAL will be returned. </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="AsMenuButton"></span><code>property <strong>AsMenuButton</strong> : <a href="uCEFInterfaces.ICefMenuButton.html">ICefMenuButton</a> read <a href="uCEFLabelButtonComponent.TCEFLabelButtonComponent.html#GetAsMenuButton">GetAsMenuButton</a>;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p>
|
||
|
Returns this LabelButton as a MenuButton or NULL if this is not a MenuButton. </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>
|