停靠的多行文本框被 StatusStrip 覆盖

发布于 2024-12-13 15:00:11 字数 155 浏览 4 评论 0原文

我有一个表单,其中多行文本框和状态条都停靠在表单底部。

文本框必须停靠,以便在调整整个表单大小时可以调整其大小。

问题在于状态条覆盖了覆盖滚动条向下箭头底部的文本框。

有没有办法使文本框停靠在底部,同时仍然显示在状态栏上方?

问候。

I am having a form in which I have multiple line textbox and status strip both docked to the bottom of the form.

Textbox must be docked so it can be resizable while the whole form is resizable.

The problem is that the status strip is covering the textbox on the bottom of the from covering scroll bars down arrow.

Is there any way to make textbox docked to the bottom while still displaying above the status strip?

Regards.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

甜`诱少女 2024-12-20 15:00:11

右键单击文本框,然后单击置于前面(如果还有其他控件,则单击状态栏和发送到后面)。停靠基于窗体上控件的 ZOrder,最前面的是最里面的。

Right click the text box and click Bring to front (Or the Statusbar and Send to back if there are other controls). The docking is based on the ZOrder of the controls on the form with the front most being the inner most.

淡看悲欢离合 2024-12-20 15:00:11

您还可以使用 ToolStripContainer,它将关注您想要执行的操作,这通常是放置状态条等工具条的有效方法。

You could also use a ToolStripContainer, which will take care of what you are trying to do and is generally an efficient way of placing toolstrips such as the statusstrip.

趁年轻赶紧闹 2024-12-20 15:00:11

或者,您可以使用 Anchor 属性在父级调整大小时调整控件的大小。默认情况下它设置为左上角。如果启用底部,文本框将随着表单大小的变化而缩小或扩大。

Or you can use Anchor property to resize control when parent resize. By default it set to top left corner. If you enable the bottom than textbox will be shrink or expand as form change size.

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