子表单已最大化且大小正常 [英] Child forms maximized and normal size

查看:59
本文介绍了子表单已最大化且大小正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MDI容器中打开了两个子表单,我希望一个子表单最大化,而另一个则保持其正常大小.但是,当我尝试执行此操作时,两种形式都将处于相同状态,无论是处于最大化状态还是正常大小.有什么方法可以使一种形式最大化,而另一种形式则可以正常尺寸

谢谢

Nidhin

http://cybrosys.com/

I have two child forms open in an MDI container, i want one child form as maximized and the other in it''s normal size. But when i tried to do this both the forms are moving to the same state, either both in maximized state or in normal size. Is there any way to get one form as maximized and other in normal size

Thanks

Nidhin

http://cybrosys.com/

推荐答案

我很确定这就是MDI的工作原理-您可以尝试通过调整一个孩子的大小和隐藏来作弊它的边界使它看起来像是最大化的,但是我不确定它的行为!
I''m pretty sure that''s just how MDI works - you could try cheating by resizing one child and hiding it''s borders so that it looks like it''s maximised, but I''m not sure how that''d behave!


这是MDI父级的默认行为.您不能使一种形式最大化,而另一种形式则是相同MDI的正常形式.
This is the default behaviour of MDI parent. You cant make one form maximized and another which is the child of the same MDI to be normal.


感谢您的回答,我在我的项目中找到了解决方案.我将窗体最大化为子窗体,在MDI外的显示对话框中以正常大小打开了要打开的窗体,并将任务栏"中的show设置为false

Nidhin

http://cybrosys.com/
Thanks for the answers, i found a solution for this in my project. I made the forms to be maximized as the child forms, opened the forms to be opened in normal size as show dialog outside the MDI and made the show in Task bar property to false

Nidhin

http://cybrosys.com/


这篇关于子表单已最大化且大小正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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