将孩子表格发送到父母控制的前面 [英] send child form to front of parent's controls

查看:69
本文介绍了将孩子表格发送到父母控制的前面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友!!!

当我加载子窗体时,它会返回所有父窗体的控件(例如splitContainer,按钮等).
请让我知道要解决哪些设置?!

***我发现一页描述其设置,但是我不明白它的第二步! http://msdn.microsoft.com/en-us/library/7aw8zc76%28v = vs.80%29.aspx#Y323 [

Hi Friends!!!

when i load my child form, it come back of all parent''s controls (such as splitContainer, buttons,...).
pls let me know which setups should i do to solve it?!

*** i found one page that describe its setups, but i don''t understand its 2nd step! http://msdn.microsoft.com/en-us/library/7aw8zc76%28v=vs.80%29.aspx#Y323[^]

Wait for ur helps! :)

推荐答案

也许您认为我在开玩笑!但是我的解决方案是真实的!我花了将近一天的时间,该怎么办才能不让孩子出现在父母的控制之下?最后,我尝试将其向导MDIParent窗口与我自己的父窗体进行比较.他们之间没有什么不同.如果在向导父窗体上添加控件,则子窗体将显示在父窗体的控件后面!!! (这个问题是在BASE上出现的,或者也许我没有找到真正的答案!:))

建议:

如果希望父窗体具有控件,则可以添加另一个子窗体(作为主页),然后将控件放在该窗体上;在父窗体的加载事件中显示子窗体(您将其创建为主页!):)

成功的!! ;)
maybe you think i''m joking!!! but my solution is real! i spend near one day to find what should i do to don''t appear the parent''s controls front of my child forms; finally i try to compare its wizard MDIParent window with my own parent form. there is no different between them. if you add a control on wizard parent form, the child form will show back of the parent form''s control!!! (this problem was at BASE OR maybe I didn''t find what''s the real answer! :) )

SUGGESTION:

if you want your parent form has controls, you can add an other child form (as main page) then put your controls on it; at load event of parent form show the child form(that you created it as a main page!) :)

BE SUCCESSFUL!! ;)


您只需要在父表单上选择菜单栏,然后​​找到名为MDIWindowListItem的属性.您将看到创建的所有按钮的列表,选择要显示mdi窗口列表的按钮并完成.它将自动管理创建的MDI窗口的列表.

希望对您有帮助
You just need to select the menu bar on the parent form, and find the property called MDIWindowListItem. You will see a list of all the buttons you created, select the one which you want to show the list of mdi windows and it''s done. It will automatically manage the list of MDI windows created.

Hope it helps


这篇关于将孩子表格发送到父母控制的前面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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