📄 fcintro.htm
字号:
<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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -