So I was working on a VB project which uses Windows forms. I wrote some code, did some tinkering, all is OK.
I then unplugged the second screen I was using with my laptop and ran the code again. The form has now resized and I have a TabPage on the form which is now massive and extends way to the right of the form.
Ive tried extending the size of the form to the right to try and find the edge of the TabPage but I cannot extend the size beyond 1940. The TabPage is currently 3930 wide.
I tried reducing the size of the TabPage as well but it would not let me go less than 3930.
Can anyone help:
1) to recover the form to what it was just now!
2) Explain why this happened - it may or may not be due to unplugging the monitor from the laptop, seemed to happen at the same time though.
3) Suggest a way of it not happening again!
Many thanks