VS 2008中的ScrollBar [英] ScrollBar in VS 2008

查看:105
本文介绍了VS 2008中的ScrollBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个用vs2008编写的应用程序。

如果滚动条大小与控件高度/宽度的高度/宽度相关联,则控件的正常行为。例如ListBox,ListView等。出于某种原因,在我的情况下,滚动条仅显示没有拇指的向上/向下箭头。我相信它与任何主题无关,即使我没有使用任何主题。我创建了一个新项目,它在VS2008中工作正常并显示正常行为。我花了2天时间无法找到任何答案。

非常感谢任何帮助。



AghaKhan

I am working on an application which is written in vs2008.
It is normal behavior for a control if scrollbar size is associated with the height/width the height/width of the control. For example ListBox, ListView etc. For some reason in my case the scrollbar show only up/down arrows with no thumb. I believe it has nothing to do with any of the themes even I am not using any. I created a new project and it works fine in VS2008 and show normal behavior. I spent 2 days and unable to find any answer.
Any help will be very much appreciated.

AghaKhan

推荐答案

我不知道你确切的问题是什么,因为你没有给出任何代码。但它应该是相当直接的:

http://msdn.microsoft。 com / en-us / library / ms750665.aspx [ ^ ]



也许您忘了设置Horizo​​ntalScrollBarVisibility =Auto?
I dont know what you exact problem is since you havent given any code. But it should be rather straigt forward:
http://msdn.microsoft.com/en-us/library/ms750665.aspx[^]

Perhaps you forgot to set the HorizontalScrollBarVisibility="Auto"?


这篇关于VS 2008中的ScrollBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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