禁止用户调整表格大小 [英] Disable User to Resize Form

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

问题描述


如何禁用表单的大小调整?
我以为锁定"属性就是答案,我将其分配为真",
但我仍然可以在运行时调整表单的大小!
Thx

Hi,
How can I disable the resizing of a form??
I thought the "Locked" property is the answer, I assigned it as "True",
but still I can resize the form on runtime!
Thx

推荐答案

查看Windows窗体的属性: ^ ].
更多信息:如何防止调整大小 [
Look at property of Windows Form: SizeGrip[^].
More infos: how to prevent form resizing[^]


设置适当的边框样式,最小和最大大小,并删除标题栏中的最小/最大按钮.
Set the appropriate border style, minimum and maximum size and remove min/max buttons in the title bar.


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

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