⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formcont.htm

📁 formContainer for delphi,是一个delphi form动画现实的组件
💻 HTM
📖 第 1 页 / 共 2 页
字号:
  <dd><font size="2"><b>Declaration: </b>function CreateForm(AClass: TFormClass): TCustomForm;</font></dd>
  <dd><font size="2"><b>Description:</b> It creates a form of class <i>AClass</i> and inserts
    it as a child window of the FormContainer. This is the only way to attach a form to the
    FormContainer.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Forms">Forms</a></font></dd>
</dl>

<p><a name="DestroyAllForms"><font size="2"><b>DestroyAllForms</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration: </b>procedure DestroyAllForms;</font></dd>
  <dd><font size="2"><b>Description:</b> Destroys all <a href="#Forms">Forms</a> in reverse
    order. It is automatically invoked by the destructor of TFormContainer.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Forms">Forms</a> <a href="#CreateForm">CreateForm</a>
    <a href="#DestroyForm">DestroyForm</a></font></dd>
</dl>

<p><a name="DestroyForm"><font size="2"><b>DestroyForm</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration: </b>procedure DestroyForm(F: TCustomForm);</font></dd>
  <dd><font size="2"><b>Description:</b> Destroys the form <i>F</i>. If <i>F</i> is not
    attached to the FormContainer it raises an <a href="fcerror.htm">exception</a>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Forms">Forms</a> <a href="#CreateForm">CreateForm</a>
    <a href="#DestroyAllForms">DestroyAllForms</a> <a href="fcerror.htm">EFormContainerError</a></font></dd>
</dl>

<p><a name="FormCount"><font size="2"><b>FormCount</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> function FormCount: Integer;</font></dd>
  <dd><font size="2"><b>Description:</b> It returns the number of currently attached <a
    href="#Forms">Forms</a> (visible or not).</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Forms">Forms</a></font></dd>
</dl>

<p><font size="2"><b>FormData</b></font> 

<dl>
  <dd><font size="2"><b>Declaration:</b> function FormData: TFCFormData;</font></dd>
  <dd><font size="2"><b>Description:</b> It returns the data of the current <a href="#Forms">Form</a>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="formdata.htm">TFCFormData</a></font></dd>
</dl>

<p><font size="2"><b>IndexOf</b></font> 

<dl>
  <dd><font size="2"><b>Declaration: </b>function IndexOf(Value: TCustomForm): Integer;</font></dd>
  <dd><font size="2"><b>Description:</b> Returns the index of the <i>Value</i> Form in the <a
    href="#Forms"><i>Forms</i></a> array. If <i>F</i> is not attached to the FormContainer it
    raises an <a href="fcerror.htm">exception</a>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Forms">Forms</a> <a href="fcerror.htm">EFormContainerError</a></font></dd>
</dl>

<p><a name="LRUFormCount"><font size="2"><b>LRUFormCount</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> function LRUFormCount: Integer;</font></dd>
  <dd><font size="2"><b>Description:</b> It returns the number of forms stored into the LRU
    list of forms.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#LRUForms">LRUForms</a></font></dd>
</dl>

<p><a name="ShowForm"><font size="2"><b>ShowForm</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> procedure ShowForm(AForm: TCustomForm;
    DestroyCurrent: Boolean = True);</font></dd>
  <dd><font size="2"><b>Description:</b> It turns on the visibility of <i>AForm</i>. If <i>AForm</i>
    is <i>nil</i>, then no form will be showed. If <i>DestroyCurrent</i> is <i>True</i>, then
    the currently visible form will be destroyed, if it exists. If <i>False</i>, it will be
    simply hidden. If <i>AForm</i> is not attached to the FormContainer it raises an <a
    href="fcerror.htm">exception</a>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Form">Form</a> <a href="#Forms">Forms</a> <a
    href="#CreateForm">CreateForm</a> <a href="fcerror.htm">EFormContainerError</a></font></dd>
</dl>

<p><a name="ShowFormEx"><font size="2"><b>ShowFormEx</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> procedure ShowFormEx(<br>
    &nbsp; AForm: TCustomForm = nil;<br>
    &nbsp; DestroyCurrent: Boolean = True;<br>
    &nbsp; Transition: TTransitionEffect = nil;<br>
    &nbsp; BackgrOptions: TFCBackgroundOptions = nil;<br>
    &nbsp; Align: TFCFormAlign = fcfaDefault);</font></dd>
  <dd><font size="2"><b>Description:</b> It turns on the visibility of <i>AForm</i>.<br>
    If <i>AForm</i> is <i>nil</i>, then no form will be showed.<br>
    If <i>DestroyCurrent</i> is <i>True</i>, then the currently visible form will be
    destroyed, if it exists. If <i>False</i>, it will be simply hidden. If <i>AForm</i> is not
    attached to the FormContainer it raises an <a href="fcerror.htm">exception</a>.<br>
    If <i>Transition</i> is not <i>nil</i>, then the transition effect defined by <i>Transition</i>
    will be applied.<br>
    With <em>BackgrOptions</em> you can change <a href="#BackgroundOptions"><i>BackgroundOptions</i></a>
    (if you don&#146;t want to change the background options, set it to <em>nil</em>).<br>
    <i>Align</i> is the alignment to use with <i>AForm</i>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#Form">Form</a> <a href="#Forms">Forms</a> <a
    href="#CreateForm">CreateForm</a> <a href="fcerror.htm">EFormContainerError</a> <a
    href="transeff.htm">TTransitionEffect</a> <a href="formalig.htm">TFCFormAlign</a> <a
    href="#Picture">Picture</a> <a href="#BackgroundOptions">BackgroundOptions</a></font></dd>
</dl>

<p><font size="2">ShowLRUFormEx, </font><small>ShowNextLRUForm, ShowNextLRUFormEx,
ShowPriorLRUForm or ShowPriorLRUFormEx</small></p>

<p><a name="ShowLRUForm"><font size="2"><b>ShowLRUForm</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> </font><small>procedure ShowLRUForm(Index: Integer;
    DestroyCurrent: Boolean=True);</small></dd>
  <dd><font size="2"><b>Description:</b> It shows the LRU form at <em>Index</em>.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a
    href="#ShowLRUFormEx">ShowLRUFormEx</a>, <a href="#ShowForm">ShowForm</a></font></dd>
</dl>

<p><a name="ShowLRUFormEx"><font size="2"><b>ShowLRUFormEx</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> procedure ShowLRUFormEx(<br>
    </font><small>&nbsp; Index: Integer;</small><font size="2"><br>
    &nbsp; DestroyCurrent: Boolean = True;<br>
    &nbsp; Transition: TTransitionEffect = nil;<br>
    &nbsp; BackgrOptions: TFCBackgroundOptions = nil;<br>
    &nbsp; Align: TFCFormAlign = fcfaDefault);</font></dd>
  <dd><font size="2"><b>Description:</b> It shows the LRU form at <em>Index</em>.<br>
    <b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a href="#ShowLRUForm">ShowLRUForm</a>,
    <a href="#ShowForm">ShowForm</a><a href="#ShowFormEx">Ex</a> </font></dd>
</dl>

<p><a name="ShowNextLRUForm"><font size="2"><b>ShowNextLRUForm</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> </font><small>procedure
    ShowNextLRUForm(DestroyCurrent: Boolean=True);</small></dd>
  <dd><font size="2"><b>Description:</b> It shows the next LRU form.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a
    href="#ShowLRUFormEx">ShowLRUForm</a>, <a href="#ShowNextLRUFormEx">ShowNextLRUFormEx</a>,
    <a href="#ShowPriorLRUForm">ShowPriorLRUForm</a>, <a href="#ShowForm">ShowForm</a></font></dd>
</dl>

<p><a name="ShowNextLRUFormEx"><font size="2"><b>ShowNextLRUFormEx</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> procedure ShowNextLRUFormEx(<br>
    &nbsp; DestroyCurrent: Boolean = True;<br>
    &nbsp; Transition: TTransitionEffect = nil;<br>
    &nbsp; BackgrOptions: TFCBackgroundOptions = nil;<br>
    &nbsp; Align: TFCFormAlign = fcfaDefault);</font></dd>
  <dd><font size="2"><b>Description:</b> It shows the next LRU form.<br>
    <b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a href="#ShowLRUForm">ShowLRUForm</a>,
    <a href="#ShowNextLRUForm">ShowNextLRUForm</a>, <a href="#ShowPriorLRUFormEx">ShowPriorLRUFormEx</a>,
    <a href="#ShowForm">ShowForm</a><a href="#ShowFormEx">Ex</a> </font></dd>
</dl>

<p><a name="ShowPriorLRUForm"><font size="2"><b>ShowPriorLRUForm</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> </font><small>procedure
    ShowPriorLRUForm(DestroyCurrent: Boolean=True);</small></dd>
  <dd><font size="2"><b>Description:</b> It shows the prior LRU form.</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a
    href="#ShowLRUFormEx">ShowLRUForm</a>, <a href="#ShowPriorLRUFormEx">ShowPriorLRUFormEx</a>,
    <a href="#ShowNextLRUForm">ShowNextLRUForm</a>, <a href="#ShowForm">ShowForm</a></font></dd>
</dl>

<p><a name="ShowPriorLRUFormEx"><font size="2"><b>ShowPriorLRUFormEx</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> procedure ShowPriorLRUFormEx(<br>
    &nbsp; DestroyCurrent: Boolean = True;<br>
    &nbsp; Transition: TTransitionEffect = nil;<br>
    &nbsp; BackgrOptions: TFCBackgroundOptions = nil;<br>
    &nbsp; Align: TFCFormAlign = fcfaDefault);</font></dd>
  <dd><font size="2"><b>Description:</b> It shows the prior LRU form.<br>
    <b>See also:</b> <a href="#LRUForms">LRUForms</a>, <a href="#ShowLRUForm">ShowLRUForm</a>,
    <a href="#ShowPriorLRUForm">ShowPriorLRUForm</a>, <a href="#ShowNextLRUFormEx">ShowNextLRUFormEx</a>,
    <a href="#ShowForm">ShowForm</a><a href="#ShowFormEx">Ex</a> </font></dd>
</dl>

<p><a name="FormContainers's events"><font face="Arial">Events</font></a></p>

<p><a name="OnFormChange"><font size="2"><b>OnFormChange</b></font></a> 

<dl>
  <dd><font size="2"><b>Declaration:</b> property OnFormChange: <a href="fchevent.htm">TFCFormChangeEvent</a>
    read FOnFormChange write FonFormChange;</font></dd>
  <dd><font size="2"><b>Description:</b> It is fired each time that <a href="#ShowForm">ShowForm</a>
    or <a href="#ShowFormEx">ShowFormEx</a> are called, directly or indirectly (for example,
    if you <a href="#DestroyForm">destroy</a> de visible <a href="#Form">form</a>, then this
    event will be fired too).</font></dd>
  <dd><font size="2"><b>See also:</b> <a href="fchevent.htm">TFCFormChangeEvent</a> <a
    href="#ShowForm">ShowForm</a> <a href="#ShowFormEx">ShowFormEx</a></font></dd>
</dl>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -