正如标题所说,假设DataGridview的视觉可以包含4行,如果行为6,则它具有垂直ScrollBar。但是如果点击ScrollBar,程序就会崩溃。如果我们将DataGridview.ScrollBars设置为None,则不会发生任何问题。void visitorLeave_Load(object sender, EventArgs e) me = new ManageEmployee(10);
在德尔菲中有任何与C#的DataGridView相当的东西吗?我试过了
- But the scrollbar is either invisible when all the items are visible, or itis the smallest scrollbar possible no matter how little the items are overflowed and only updates whenthe scrollbar