Another concept that allows us to make parts of a user interface reusable are frames. A frame is similar to a form. It is implemented in a separate unit, can be visually edited in the IDE, and you can place controls and components on it. A frame, on the other hand, cannot be directly displayed on a screen. To use it, you must place it on a form, or on another frame, which is then placed on a form.
Frames function more like composite controls than full forms. You can even put a frame on the component palette and use it as a normal component later. Similarly to forms, frames can be added to the object repository and can be inherited from.
To create a new frame, select File| New| Other... Then, select the Delphi Files branch and find the VCL Frame icon. (The name of the icon will be FireMonkey Frame if you are designing a FireMonkey application.) Click OK and a new unit will...