如何在 TableLayoutPanel 中创建禁用的滚动条
我有一个包含多列的表格布局面板。我为页眉和页脚添加了另外 2 个表格布局面板,因为我不希望垂直滚动影响页眉和页脚。然而,由于有 3 个不同的表格布局面板,当我们在中心面板中获得垂直滚动条时,我无法对齐单元格边框。一种方法是始终存在禁用的滚动条,仅在需要时才启用它。检查过但没有找到任何参考文献来做到这一点。有什么想法吗?
I have a tablelayout panel with multiple columns. I have added another 2 tablelayout panels for header and footer since I don't want the vertical scrolling to affect the header and footer. However since there are 3 different tablelayout panels, I am unable to align the cell borders when we get vertical scrollbar in the center panel. One way looks to be to have a disabled scrollbar always present which gets enabled only when required. Checked but didn't find any references to do that. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来这是不可能的:(... TrialAndError 机制是否对齐组件。
It looks like it's not possible :(... Did TrialAndError mechanism of aligning the components.