i am currently making a parent MDI container and 2 child MDI windows. How do i tell the childs to spawn at specific locations inside the parent? thanks
Printable View
i am currently making a parent MDI container and 2 child MDI windows. How do i tell the childs to spawn at specific locations inside the parent? thanks
The .Location property of the child is referenced to the parent container. (0,0) is the upper left corner. Just set it after creating the child inside the mdi code, or inside its own load method if it can determine its own location.
You could also use the .ChildrenLayout property of the container to auto arrange its children.