Visual C# Express 2008 表单设计器自动滚动
这可能不是人们应该在 StackOverflow 上问的问题,但我一直在寻找解决方法,这让我感到沮丧。
使用表单设计器时,假设整个表单不适合分配给表单设计器的空间,并且我有一个控件,位于表单底部附近。
如果我尝试重新调整该控件的大小,或使用鼠标移动它,工作区域将自动滚动到工作区域的顶部。这基本上将我的控制权拉到了屏幕顶部。在“按住”控件时不可能使用滚轮滚动,甚至 ScrollLock 对我也没有任何作用。
有什么办法可以关闭自动滚动吗?这样我至少可以处理我的表单,而无需猜测要在属性窗口中输入的数字。
This may not be the kind of question one should ask on StackOverflow, but here's a frustration that I've been trying to find a work-around for.
When using the form designer, suppose the entire form does not fit in the space allotted to the form designer, and I have a control say, down near the bottom of the form.
If I try to re-size that control, or move it using the mouse, the work area will auto-scroll to the top of the work area. This essentially pulls my control to the top of the screen. It isn't possible to scroll with the scroll wheel while "holding" a control, and even ScrollLock does nothing for me.
Is there any way to just turn the auto-scrolling off? That way I can at least work on my form without guessing numbers to type into the properties window.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不能关闭表单的自动滚动功能吗?
我认为默认情况下它是关闭的。
Form.AutoScroll = False
Can't you just turn off autoscroll for the form?
I think it's off by default.
Form.AutoScroll = False