Why does clicking in a text box cause an AutoScroll panel to scroll back to the top?

前端 未结 4 1394
面向向阳花
面向向阳花 2021-01-02 17:14

Finishing up a register form in a C# application and I noticed with the panel if I enable AutoScroll and then have a textbox that is below the scroll and click on it it jump

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 18:06

    I had this exact problem. I had to remove the docking from my panels on the form and this fixed the problem.

提交回复
热议问题