Parent Control

I have a view which (if I get things to work) will contain three container controls. The problem is that when I drag the third control onto the view a previously placed container control seems to think that it must be the parent (a red outline shows). This makes some other stuff not work.

So, how can one control which is the parent in the IDE? What I want is for all three container controls to be in the window and not one in another.

Instead of dragging with the mouse, change the values in the inspector.

What you do is first drag the control where you want it, note the left and top values, then drag the control over the view so it becomes child of the view, then apply the left and top you noted with the constraints editor. The control will remain child of the view.

Thanks. That worked.