Visual C# Express 2008 表单设计器自动滚动

发布于 2024-08-26 13:54:37 字数 283 浏览 4 评论 0原文

这可能不是人们应该在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荆棘i 2024-09-02 13:54:37

您不能关闭表单的自动滚动功能吗?

我认为默认情况下它是关闭的。

Form.AutoScroll = False

Can't you just turn off autoscroll for the form?

I think it's off by default.

Form.AutoScroll = False

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文