I found the problem and it is definately a bug in the IDE's autogenerated code. I recreated the form to avoid editing the autogenerated code and got the same problem (after an hour and half of laying out the controls again, ugh).
I believe it occurs when you rename a split panel contained within another split panel which iswithin a tab, after you've already renamed it from SplitContainer1 (ie rename it a second time), but press Escape while renamingit the second time. I believe this is the point at which it occurs,butI'm not sure because the form continues to look OK in the designer, even after the code gets whacked.It also doesn't do it every time as I have multiple instances of this scenario in the form but it didn't do it for all of them, only when I renamed them.
It also did something else that was weird. I have multiple list views in the form and the bottom 1/8 inch or so of column header of the currently selected list veiw in the designer turns orange after the code gets whacked. I have no clue as to what causes this.
Are there any guidelines for editing autogenerated code or are we left to our own devices? I have nothing to lose at this point, so what the heck.
ck |