You've already forked CEF4Delphi
							
							
				mirror of
				https://github.com/salvadordf/CEF4Delphi.git
				synced 2025-10-30 23:07:52 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			235 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			235 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
| <title>cef4delphi: uCEFButtonDelegate: Class TCustomButtonDelegate</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="TCustomButtonDelegate"></span><h1 class="cio">Class TCustomButtonDelegate</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">Properties</div></div>
 | |
| <span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
 | |
| <p class="unitlink">
 | |
| <a href="uCEFButtonDelegate.html">uCEFButtonDelegate</a></p>
 | |
| <h2 class="declaration">Declaration</h2>
 | |
| <p class="declaration">
 | |
| <code>type TCustomButtonDelegate = class(<a class="normal" href="uCEFButtonDelegate.TCefButtonDelegateOwn.html">TCefButtonDelegateOwn</a>)</code></p>
 | |
| <h2 class="description">Description</h2>
 | |
| <p>
 | |
|  This class handles all the ICefButtonDelegate methods which call the ICefButtonDelegateEvents methods. ICefButtonDelegateEvents will be implemented by the control receiving the ICefButtonDelegate events. </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="uCEFViewDelegate.TCefViewDelegateOwn.html">TCefViewDelegateOwn</a></li>
 | |
| <li class="ancestor"><a class="normal" href="uCEFButtonDelegate.TCefButtonDelegateOwn.html">TCefButtonDelegateOwn</a></li>
 | |
| <li class="thisitem">TCustomButtonDelegate</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="uCEFButtonDelegate.TCustomButtonDelegate.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">
 | |
| <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="uCEFButtonDelegate.TCustomButtonDelegate.html#OnGetPreferredSize-ICefView-TCefSize-">OnGetPreferredSize</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnGetMinimumSize-ICefView-TCefSize-">OnGetMinimumSize</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnGetMaximumSize-ICefView-TCefSize-">OnGetMaximumSize</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnGetHeightForWidth-ICefView-Integer-Integer-">OnGetHeightForWidth</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; width: Integer; var aResult: Integer); 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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnParentViewChanged-ICefView-boolean-ICefView-">OnParentViewChanged</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: boolean; const parent: <a href="uCEFInterfaces.ICefView.html">ICefView</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnChildViewChanged-ICefView-boolean-ICefView-">OnChildViewChanged</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: boolean; const child: <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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnWindowChanged-ICefView-boolean-">OnWindowChanged</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: 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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnLayoutChanged-ICefView-TCefRect-">OnLayoutChanged</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; new_bounds: <a href="uCEFTypes.TCefRect.html">TCefRect</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnFocus-ICefView-">OnFocus</a></strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnBlur-ICefView-">OnBlur</a></strong>(const view: <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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnButtonPressed-ICefButton-">OnButtonPressed</a></strong>(const button: <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>procedure <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#OnButtonStateChanged-ICefButton-">OnButtonStateChanged</a></strong>(const button: <a href="uCEFInterfaces.ICefButton.html">ICefButton</a>); 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>constructor <strong><a href="uCEFButtonDelegate.TCustomButtonDelegate.html#Create-ICefButtonDelegateEvents-">Create</a></strong>(const events: <a href="uCEFInterfaces.ICefButtonDelegateEvents.html">ICefButtonDelegateEvents</a>); reintroduce;</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="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 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="OnGetPreferredSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetPreferredSize</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</a>); override;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="2">
 | |
| <p>
 | |
| ICefViewDelegate</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="OnGetMinimumSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetMinimumSize</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetMinimumSize-ICefView-TCefSize-">TCefViewDelegateOwn.OnGetMinimumSize</a>.</p><p>
 | |
|  Return the minimum size for |view|. </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="OnGetMaximumSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetMaximumSize</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <a href="uCEFTypes.TCefSize.html">TCefSize</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetMaximumSize-ICefView-TCefSize-">TCefViewDelegateOwn.OnGetMaximumSize</a>.</p><p>
 | |
|  Return the maximum size for |view|. </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="OnGetHeightForWidth-ICefView-Integer-Integer-"></span><code>procedure <strong>OnGetHeightForWidth</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; width: Integer; var aResult: Integer); override;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="2">
 | |
| <p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetHeightForWidth-ICefView-Integer-Integer-">TCefViewDelegateOwn.OnGetHeightForWidth</a>.</p><p>
 | |
|  Return the height necessary to display |view| with the provided |width|. If not specified the result of get_preferred_size().height will be used by default. Override if |view|'s preferred height depends upon the width (for example, with Labels). </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="OnParentViewChanged-ICefView-boolean-ICefView-"></span><code>procedure <strong>OnParentViewChanged</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: boolean; const parent: <a href="uCEFInterfaces.ICefView.html">ICefView</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnParentViewChanged-ICefView-boolean-ICefView-">TCefViewDelegateOwn.OnParentViewChanged</a>.</p><p>
 | |
|  Called when the parent of |view| has changed. If |view| is being added to |parent| then |added| will be true (1). If |view| is being removed from |parent| then |added| will be false (0). If |view| is being reparented the remove notification will be sent before the add notification. Do not modify the view hierarchy in this callback. </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="OnChildViewChanged-ICefView-boolean-ICefView-"></span><code>procedure <strong>OnChildViewChanged</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: boolean; const child: <a href="uCEFInterfaces.ICefView.html">ICefView</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnChildViewChanged-ICefView-boolean-ICefView-">TCefViewDelegateOwn.OnChildViewChanged</a>.</p><p>
 | |
|  Called when a child of |view| has changed. If |child| is being added to |view| then |added| will be true (1). If |child| is being removed from |view| then |added| will be false (0). If |child| is being reparented the remove notification will be sent to the old parent before the add notification is sent to the new parent. Do not modify the view hierarchy in this callback. </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="OnWindowChanged-ICefView-boolean-"></span><code>procedure <strong>OnWindowChanged</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; added: 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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnWindowChanged-ICefView-boolean-">TCefViewDelegateOwn.OnWindowChanged</a>.</p><p>
 | |
|  Called when |view| is added or removed from the ICefWindow. </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="OnLayoutChanged-ICefView-TCefRect-"></span><code>procedure <strong>OnLayoutChanged</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</a>; new_bounds: <a href="uCEFTypes.TCefRect.html">TCefRect</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnLayoutChanged-ICefView-TCefRect-">TCefViewDelegateOwn.OnLayoutChanged</a>.</p><p>
 | |
|  Called when the layout of |view| has changed. </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="OnFocus-ICefView-"></span><code>procedure <strong>OnFocus</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnFocus-ICefView-">TCefViewDelegateOwn.OnFocus</a>.</p><p>
 | |
|  Called when |view| gains focus. </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="OnBlur-ICefView-"></span><code>procedure <strong>OnBlur</strong>(const view: <a href="uCEFInterfaces.ICefView.html">ICefView</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="uCEFViewDelegate.TCefViewDelegateOwn.html#OnBlur-ICefView-">TCefViewDelegateOwn.OnBlur</a>.</p><p>
 | |
|  Called when |view| loses focus. </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="OnButtonPressed-ICefButton-"></span><code>procedure <strong>OnButtonPressed</strong>(const button: <a href="uCEFInterfaces.ICefButton.html">ICefButton</a>); override;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="2">
 | |
| <p>
 | |
| ICefButtonDelegate</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="OnButtonStateChanged-ICefButton-"></span><code>procedure <strong>OnButtonStateChanged</strong>(const button: <a href="uCEFInterfaces.ICefButton.html">ICefButton</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="uCEFButtonDelegate.TCefButtonDelegateOwn.html#OnButtonStateChanged-ICefButton-">TCefButtonDelegateOwn.OnButtonStateChanged</a>.</p><p>
 | |
|  Called when the state of |button| changes. </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-ICefButtonDelegateEvents-"></span><code>constructor <strong>Create</strong>(const events: <a href="uCEFInterfaces.ICefButtonDelegateEvents.html">ICefButtonDelegateEvents</a>); reintroduce;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="2">
 | |
| <p>
 | |
|  Creates an instance of this class liked to an interface that's implemented by a control receiving the events. </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>
 |