Aaaaah yes!!! It's my fault guys, last week i found out exactly when this happens, but was so busy that i forgot to mention here. So here it is how you can reproduce it:
1) Create a new VWG project
2) Open the default-created Form1. It is blank.
3) Insert a panel and give it a red color (or whatever, its not part of the problem). Leave its name to Panel1.
4) Within Panel1, insert another panel, and change its color to blue. Leave its name to Panel2.
5) Right click on the form, or the panel, just to make sure you see the Copy/Paste/Delete options are enabled (Paste should be disabled)
Now, in my scenario, i want to remove Panel2 from inside Panel1 and want to have it next to Panel1, both Panel1 and Panel2 on the main Form container. And here starts the part of the problem:
6) Instead of doing the common action, which is cut Panel2 and paste it on the main form, go to the designer file and remove or comment out the line Me.Panel1.Controls.Add(Me.Panel2). Then, search for the line Me.Controls.Add(Me.Panel1). This command adds the Panel1 control on the form. Below this command, add the command Me.Controls.Add(Me.Panel2)
7) Switch back to the Form Designer and see that the Panel2 is outside Panel1.
8) Right click on whichever part of the Form you want and vuala!!!, almost every menuitem is disabled!!!
Sometimes I also receive an error which i can't recall, but this happens (i guess) when the form contains too many controls
I tested this just before i write this post. I hope this helped.
Maybe there are other ways to reproduce it, let's hope this is the only one :-)))
I am facing this behaviour sometimes too. I never change the code in the designer file myself so it happens with a different scenario but unfortunatly, I can't say exactly how.
Personnaly, i don't think it's a majot problem since I can close and reopen the form and it has no effect at runtime.
I would prefer the release of 5.85.5 ans 5.85.6
Thank you
dubem
I too have encountered this issue, and I too just close and re-open.
Bernard
My scenario occurs all the time!!