[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppClxTForm
To have multiple MDIChild TForms in your program, do
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppClxTForm
(C++ CLX) TForm
The Component you put all others on. Without any others on it, it is an empty window. Can be found in QForms.hpp.Multiple TForms
To have multiple (non-parent) TForms in your program, do (using default names):- Create an Application (called Project1 with Unit1 and Form1)
- Create a new Form (called Unit2 and Form2)
- Save all in the same directory under their default names
- Select Form1
- Select 'Project | Add to Project | Unit2.cpp'
- Select 'File | Include Unit Hdr | Unit2'
Form2->Show();
MDI Interface
MDI is an abbreviation of Multiple Documents Interface. It is nearly the same as above to create:To have multiple MDIChild TForms in your program, do
- Create an Application (called Project1 with Unit1 and Form1)
- Set Form1's FormStyle to fsMDIForm
- Create a new Form (called Unit2 and Form2)
- Set Form2's FormStyle to fsMDIChild
- Save all in the same directory under their default names
- Select Form1
- Select 'Project | Add to Project | Unit2.cpp'
- Select 'File | Include Unit Hdr | Unit2'
Form2->Show();
'TForm' Links
- C++ VCL TForm
- Pascal CLX TForm
- Pascal VCL TForm
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
