Are you talking about creating a multi-window form (MDI [Multi Document Interface]). This is where the main form has children forms. You can open of close any child windows but when you close the parent form, everything closes.
The parent's FormStyle property should be set to fsMDIForm. The other forms should be child forms so their FormStyle property should be set to fsMDIChild.
James P. Cottingham
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.