TextBox控件调整大小 [英] TextBox control Resizing

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

问题描述

我在Panel中设计了一个带有一些TextBox控件的表单。

I have designed one form with some TextBox controls inside a Panel.

当我运行项目时TextBox Control会自动调整大小并且其位置也会发生变化。

When I am Running the Project the TextBox Control automatically Resizing and its location also changing.

请帮我解决如何设置文本框大小和位置的问题。

Please help me how to set the Text box Size and location fixed.

感谢你。

Sanjaya Mohapatra

Sanjaya Mohapatra

推荐答案

您需要将Anchor属性设置为top + left - 或bottom-Right或者您希望文本框保持原位。
You need to set the Anchor property to top + left - or bottom-Right or where ever it is you want the Textbox to stay located.


这篇关于TextBox控件调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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