Visual Studio 17.10.3, Windows 11, C#, .NET 8, Win Forms
Two images will better explain the problem.
I have TableLayoutPanel where each has been filled with a TextBox. In one section I have textboxes which are all identical except for Name and Location:
By Design
After running the program I get this:
During Execution
The lower left text box ALWAYS is offset when running the program.
- Deleted the problem textbox and recreated in the designer (about 10 times).
- Deleted the problem textbox and copied one of its mates to the original cell.
- Move the problem textbox to a different cell and created or copied a new text box to the problem cell.
- Set a breakpoint when the textbox is activated and looked at the properties of the textbox (more than 100 of them). They are identical to what is set in the designer.
- Prayed. Didn’t help but I felt a bit better.
I don’t fully expect an immediate solution; but what I am hoping for is some alternate ways to debug this issue. I’ve pretty much run out of ideas.
Thanks
jrj47 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.