📄 readme.htm
字号:
<tr>
<td bgcolor="#F0E000"><small><b>OnShow</b></small></td>
<td bgcolor="#F0E000"><small><b>TNotifyEvent</b></small></td>
<td bgcolor="#F0E000"><small>This event just triggered when the assistant goes to show.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>OnTipsTipChange</b></small></td>
<td bgcolor="#FFEE00"><small><b>TNotifyEvent</b></small></td>
<td bgcolor="#FFEE00"><small>This event triggered after changing the current tip of the Tips balloon.</small></td>
</tr>
</table>
<br>
<a name="TAssistantPanel"><b>TAssistantPanel:</b>
<p>
TAssistantPanel is a descendent of the TCustomPanel component. This component is
suitable for creating preview or options dialogs. Some features of this component are:
<ul>
<li>Assistant's actor can be changed.</li>
<li>Use a separated thread for playing animations.</li>
<li>Uses a queue for waiting animations.</li>
<li>Each queued or playing animation can be stopped.</li>
<li>Has three level of idling.</li>
<li>Plays idle animations automatically.</li>
<li>Idle times can be controlled manually.</li>
<li>Powered by a large collection of events.</li>
<li>Can stretch the animation and keeps its original aspect ratio.</li>
<li>The speed of animations can be modified within the control.</li>
</ul>
The following tables contain the list of all TAssistantPanel properties, methods and events.
</p>
<table border="0" cellpadding="2" cellspacing="2" width="100%">
<caption><a name="TAssistantPanel-Properties"><b>TAssistantPanel Properties</b></a></caption>
<tr>
<td width="25%" bgcolor="#506000"><b><font color="#ffffff"><small>Property Name</small></font></b></td>
<td width="20%" bgcolor="#506000"><b><font color="#ffffff"><small>Data Type</small></font></b></td>
<td bgcolor="#506000"><b><font color="#ffffff"><small>Description</small></font></b></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>ActorCopyright <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b>Strings</b></small></td>
<td bgcolor="#F0E000"><small>Contains the actor's copyright string of the currently loaded <a href="#Actor Library">actor library</a>.</small></td>
</tr>
<tr><a name="ActorLibrary-ap"></a>
<td bgcolor="#FFEE00"><small><b>ActorLibrary</b></small></td>
<td bgcolor="#FFEE00"><small><b>String</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the filename of the currently loaded <a href="#Actor Library">actor library</a>.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>ActorName <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b>Strings</b></small></td>
<td bgcolor="#F0E000"><small>Contains the actor's name of the currently loaded <a href="#Actor Library">actor library</a>.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>ActorVersion <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#FFEE00"><small><b>Strings</b></small></td>
<td bgcolor="#FFEE00"><small>Contains the version number of the currently loaded <a href="#Actor Library">actor library</a>.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Align</b></small></td>
<td bgcolor="#F0E000"><small><b>TAlign</b></small></td>
<td bgcolor="#F0E000"><small>Determines how the TAssistantPanel aligns within its container.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Anchors</b></small></td>
<td bgcolor="#FFEE00"><small><b>TAnchors</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies how the TAssistantPanel anchored to its parent.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Animations <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b><a href="#TAnimation">TAnimation</a></b></small></td>
<td bgcolor="#F0E000"><small>This property is an array of animations data that indexed from 0 to AnimationCount-1.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>AnimationCount <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#FFEE00"><small><b>Word</b></small></td>
<td bgcolor="#FFEE00"><small>Contains the number of animations in the currently loaded <a href="#Actor Library">actor library</a>.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>AutoIdle</b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>Controls whether the control plays the idle animations automatically.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>AutoSize</b></small></td>
<td bgcolor="#FFEE00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>Determines whether the control resizes to accommodate the actor it loads.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>BevelInner</b></small></td>
<td bgcolor="#F0E000"><small><b>TPanelBevel</b></small></td>
<td bgcolor="#F0E000"><small>Determines the style of the inner bevel of the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>BevelOuter</b></small></td>
<td bgcolor="#FFEE00"><small><b>TPanelBevel</b></small></td>
<td bgcolor="#FFEE00"><small>Determines the style of the outer bevel of the control.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>BevelWidth</b></small></td>
<td bgcolor="#F0E000"><small><b>TBevelWidth</b></small></td>
<td bgcolor="#F0E000"><small>Determines the width, in pixels, of both inner an outer bevels of the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>BgMode</b></small></td>
<td bgcolor="#FFEE00"><small><b><a href="#TBgMode">TBgMode</a></b></small></td>
<td bgcolor="#FFEE00"><small>Determines how the selected background image is displayed.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>BgPicture</b></small></td>
<td bgcolor="#F0E000"><small><b>TPicture</b></small></td>
<td bgcolor="#F0E000"><small>Determines the background image of the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>BorderStyle</b></small></td>
<td bgcolor="#FFEE00"><small><b>TBorderStyle</b></small></td>
<td bgcolor="#FFEE00"><small>Determines the style of the line drawn around the perimeter of the control.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Color</b></small></td>
<td bgcolor="#F0E000"><small><b>TColor</b></small></td>
<td bgcolor="#F0E000"><small>Specifies the background color of the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Constraints</b></small></td>
<td bgcolor="#FFEE00"><small><b>TSizeConstrains</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the size constraints of the control.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Cursor</b></small></td>
<td bgcolor="#F0E000"><small><b>TCursor</b></small></td>
<td bgcolor="#F0E000"><small>Specifies the image used to represent the mouse pointer when it passes into the region covered by the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>DragCursor</b></small></td>
<td bgcolor="#FFEE00"><small><b>TCursor</b></small></td>
<td bgcolor="#FFEE00"><small>Indicates the image used to represent the mouse pointer when the control is being dragged.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>DragKind</b></small></td>
<td bgcolor="#F0E000"><small><b>TDragKind</b></small></td>
<td bgcolor="#F0E000"><small>Specifies whether the control is being dragged normally or for docking.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>DragMode</b></small></td>
<td bgcolor="#FFEE00"><small><b>TDragMode</b></small></td>
<td bgcolor="#FFEE00"><small>Determines how the control initiates drag-and-drop or drag-and-dock operations.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Empty <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>If Empty is true, Indicates an <a href="#Actor Library">actor library</a> is loaded to the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Enabled</b></small></td>
<td bgcolor="#FFEE00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>Controls whether the control responds to mouse, keyboard, and timer events.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Height</b></small></td>
<td bgcolor="#F0E000"><small><b>Integer</b></small></td>
<td bgcolor="#F0E000"><small>Specifies the vertical size of the control in pixels.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>HelpContext</b></small></td>
<td bgcolor="#FFEE00"><small><b>THelpContext</b></small></td>
<td bgcolor="#FFEE00"><small>Provides a context number for use in calling context-sensitive online Help.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Hint</b></small></td>
<td bgcolor="#F0E000"><small><b>String</b></small></td>
<td bgcolor="#F0E000"><small>Contains the text string that can appear when the user moves the mouse over the control.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Left</b></small></td>
<td bgcolor="#FFEE00"><small><b>Integer</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the horizontal coordinate of the left edge of the control relative to its parent.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Mute</b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>Controls whether the assistant makes sound.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Name</b></small></td>
<td bgcolor="#FFEE00"><small><b>String</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the name of the control as referenced in code.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>ParentColor</b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>If ParentColor is true, the control uses the Color property of its parent.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>ParentShowHint</b></small></td>
<td bgcolor="#FFEE00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>If ParentShowHint is True, the control uses the ShowHint property value of its parent.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>PlayIdling <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>Indicates whether an idle animation is playing on the idle time.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Playing <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#FFEE00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>If Playing is true, indicates an animation is playing.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>PlayingID <sup><nobr>Read-only</nobr></sup></b></small></td>
<td bgcolor="#F0E000"><small><b><a href="#TRequestID">TRequestID</a></b></small></td>
<td bgcolor="#F0E000"><small>Identifies the ID of current playing animation</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>PopupMenu</b></small></td>
<td bgcolor="#FFEE00"><small><b>TPopupMenu</b></small></td>
<td bgcolor="#FFEE00"><small>Identifies the pop-up menu associated with the assistant.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Priority</b></small></td>
<td bgcolor="#F0E000"><small><b>TThreadPriority</b></small></td>
<td bgcolor="#F0E000"><small>Determines the priority of the thread that plays animations.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>ShowHint</b></small></td>
<td bgcolor="#FFEE00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Speed</b></small></td>
<td bgcolor="#F0E000"><small><b>Word</b></small></td>
<td bgcolor="#F0E000"><small>Specifies the relational speed of animations according to the original animation speed in percent.</small></td>
</tr>
<tr>
<td bgcolor="#FFEF00"><small><b>Stretch</b></small></td>
<td bgcolor="#FFEF00"><small><b>Boolean</b></small></td>
<td bgcolor="#FFEE00"><small>TAssistantPanel stretch the frame's image if the animation
width or height is bigger than the client size of the assistant window. By setting Stretch to
true, TAssistantPanel will stretch the image if it is less than the client size of the assistant
window. TAssistantPanel always keeps the aspect ratio of the image.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Tag</b></small></td>
<td bgcolor="#F0E000"><small><b>Integer</b></small></td>
<td bgcolor="#F0E000"><small>Stores an integer value as part of the component.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Top</b></small></td>
<td bgcolor="#FFEE00"><small><b>Integer</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the vertical coordinate of the top edge of the control relative to its parent.</small></td>
</tr>
<tr>
<td bgcolor="#F0E000"><small><b>Visible</b></small></td>
<td bgcolor="#F0E000"><small><b>Boolean</b></small></td>
<td bgcolor="#F0E000"><small>Determines whether the control appears on the parent's client.</small></td>
</tr>
<tr>
<td bgcolor="#FFEE00"><small><b>Width</b></small></td>
<td bgcolor="#FFEE00"><small><b>Integer</b></small></td>
<td bgcolor="#FFEE00"><small>Specifies the horizontal size of the control in pixels.</small></td>
</tr>
</table>
<br>
<table border="0" cellpadding="2" cellspacing="2" width="100%">
<caption><a name="TAssistantPanel-Methods"><b>TAssistantPanel Methods</b></a></caption>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -