Windows窗体的ListView缺少横向滚动条 [英] Windows Forms ListView missing horizontal scrollbar

查看:235
本文介绍了Windows窗体的ListView缺少横向滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows的形式(C#,VS 2005)窗体ListView并将其固定在形式的所有边缘,使其完全充满不包括状态栏的形式。在ListView是详细模式和列是很宽 - 绝对比显示区大。我有一个垂直滚动条,但没有水平滚动条。

I have a Windows Forms ListView in a form (C#, VS 2005) and have it anchored to all the edges of the form so that it entirely fills the form excluding the status bar. The ListView is in detail mode and the columns are very wide - definitely wider than the display area. I have a vertical scrollbar but no horizontal scrollbar.

我可以滚动到左侧和右侧与当控件具有焦点键盘,但我不能让滚动条显示。

I can scroll to the left and right with the keyboard when the control has the focus, but I cannot get the scrollbar to display.

滚动设置为true。

我是什么失踪?

推荐答案

看起来状态栏隐藏水平滚动条,除了不是更改Dock属性填充,您可以检查是否:

It looks like the status bar is hiding the horizontal scroll bar, besides than changing the Dock property to Fill, you can check whether:


  • 添加的SplitContainer并安排控制它们的内部

  • 修改您的状态栏的Dock上下

  • 添加FlowLayoutPanel的,并把你控制它里面。

希望这些提示是有用的。

Hope these tips be useful

这篇关于Windows窗体的ListView缺少横向滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆