I've created in form that has tab controls that contain tab controls that
host user controls on each tab page. It compiles and runs just fine but the
designer view fails with a "A circular control reference has been made. A
control cannot be owned or parented to itself." Additionally, there are a
lot of "Operation is not valid due to the current state of the object."
errors. However, when I look at the code, I do not see any place in the code
that looks like it could be assigning a circular reference. None of the
lines like 'tabMain.Controls.Add(xxx)' are trying to add themselves to the
control collection and all of the relationships look proper. Is there some
other way that this error can be generated?
--
"I used to think I might be indecisive but now I'm not so sure...."
Richard Lewis Haggard
www.Haggard-And-Associates.com