如何禁用mdi格式的子窗体调整大小 [英] How to disable resize of child form in mdi form
本文介绍了如何禁用mdi格式的子窗体调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道如何禁用子窗体的resize功能。
我已经使用max,min和formborderstyle来修复单个fized3d和fizeddialogue。但无法限制表单的大小调整。请分享代码以限制调整表格大小。
我尝试过:
i have no idea how to disable the resize function of child form.
i already used max, min and formborderstyle to fixedsingle fized3d and fizeddialogue. but unable to restrict resize of form. kindly share the code to restrict resize the form.
What I have tried:
i already used max, min and formborderstyle to fixedsingle fized3d and fizeddialogue. but unable to restrict resize of form. kindly share the code to restrict resize the form.
推荐答案
对我来说FormBorderStyle
MDI上的=FixedSingle
可以很好地限制用户调整大小。要通过最大化限制调整大小,您还可以设置MaximizeBox
=False
。
For meFormBorderStyle
=FixedSingle
on the MDI Child works fine to restrict user resize. To restrict resize via Maximize you could also setMaximizeBox
=False
.
这篇关于如何禁用mdi格式的子窗体调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文