I think you may be confusing two different hierarchies. Referring to the diagram here:
The area labelled “5” gives you a visual rendering of your current form, and the objects that it initially contains.
To see its substructure, its hierarchy, click the pull-down list labelled “8”. There you will see the physical structure of your Form, as displayed visually in area “5”.
This has nothing to do with the area labelled “1”. In spite of it being prominently displayed next to area “5”, area “1” is purely a filing system. You can define what you call “subforms” here, and never use them. There is no (automatic) correspondence with the contents of area “5”.
This page goes into considerable detail as to how to
- Add components to your Form (including other Forms)
- Refer to those components in your code.
This topic covers overall project structure, and using import
within that structure.