fcintro.htm
来自「formContainer for delphi,是一个delphi form动」· HTM 代码 · 共 39 行
HTM
39 行
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>FormContainer introduction</title>
</head>
<body bgcolor="#FFFFFF">
<h3>FormContainer introduction</h3>
<p>FormContainer is a a native component designed for Delphi that makes possible to insert
a form as a child window into another form.</p>
<p>For example, let's suppose we have designed the Form <em>TMyForm</em>, and we want to
insert it into a <a href="FormCont.htm"><em>TFormContainer</em></a> called <em>MyFormContainer</em>:
<dl>
<dd><pre><font size="2">var
AForm: TCustomForm;
begin
AForm := MyFormContainer.CreateForm(TMyForm);
MyFormContainer.ShowForm(AForm, True);</font><font
face="Times New Roman">
end;</font></pre>
</dd>
</dl>
<p>The possible applications of this feature are only limited by your imagination You can
easily develope very complex interfaces that are much more powerful, robust and
user-friendly.</p>
<p>Of course, the above example is a very simple. You can have many forms attached to the
same FormContainer, although only one will be showed at the same time, individually
control the alignment of each child form, show or hide it with a transition effect, etc.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?