我需要从MDI父级打开MDI客户端,该父级在仪表板中具有按钮 [英] I need to Open MDI Client from MDI parent which has buttons in the Dashboard

查看:64
本文介绍了我需要从MDI父级打开MDI客户端,该父级在仪表板中具有按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个项目,我有一个MDI父级,并且我有一个仪表板,该仪表板具有许多单击按钮,可以打开MDI客户端.

问题是当我单击MDI父级的按钮时,子级将打开,但MDI父级中的按钮仍位于MDI子窗体的顶部.

我需要在这些按钮上方显示我的MDI子窗体.

我应该怎么做?

i am doing a project and i have a MDI Parent and i have a dashboard which has many buttons clicking on which will open MDI clients.

the problem is when i click on the buttons from MDI parent, the child opens but the buttons which were in the MDI parent is still on top of the MDI child forms.

i need to show my MDI child forms above those buttons.

what should i do ?

推荐答案

您已将按钮添加到容器的mdi-client面板中.
那里的任何东西都将停留在最上面,对此您无能为力.
但是,您可以将mdi-client面板限制为仅位于按钮下方的大小.
因此,将面板中的按钮停靠在MDI容器的顶部,底部或左侧或右侧(无论您想要什么).
然后检查mdi-client面板(最好用文档大纲窗口完成)
You have added the buttons to the mdi-client panel of the container.
Anything in there will stay on top there is nothing you can do about that.
You can however limit the mdi-client panel to only be the size underneath your buttons.
So have your buttons in a panel docked to the top or bottom or left or right (whatever you want) of the mdi-container.
Then check the mdi-client panel (best done with the document outline window)


这篇关于我需要从MDI父级打开MDI客户端,该父级在仪表板中具有按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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