Creating Frames
Go Up to Working with Frames
To create an empty VCL frame, choose:
To create an empty FireMonkey frame, choose:
You can then drop components (including other frames) onto your new frame.
It is usually best, although not necessary, to save frames as part of a project. If you want to create a project that contains only frames and no forms, choose File > New > Application, close the new form and unit without saving them, then choose the Frame command shown above, and save the project.
Note: When you save frames, avoid using names that the IDE uses as default names, such as Unit1, Project1, and so forth, since these are likely to cause conflicts when you try to use the frames later.
At design time, you can display any frame included in the current project by choosing View > Forms and selecting a frame. As with forms and data modules, you can toggle between the Form Designer and the frame's form file by right-clicking and choosing View as Form or View as Text.
Adding frames to the Tool Palette
Frames are added to the Tool Palette as component templates. To add a frame to the Tool Palette, open the frame in the Form Designer (you cannot use a frame embedded in another component for this purpose), right-click the frame, and choose Add to Palette. When the Component Template Information dialog box opens, select a name, a palette page, and an icon for the new template.