父窗体中的子窗体的Tabcontrol [英] Tabcontrol of Child form inside a parent form

查看:122
本文介绍了父窗体中的子窗体的Tabcontrol的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了...

我在父窗体内创建了一个新的子窗体,该窗体加载在父窗体的底部,并且具有最大化和最小化的选项,(自然也可以将其从父窗体上拉开).子窗体内部具有tabcontrol.
我没有使用MDI容器.

我需要做的是..


当子窗体位于面板区域中时,tabcontrol shold看起来好像已加载到面板内部(就像它的窗体不可见).从中拖动时,它应该看起来像是窗体


wat i did ...

i have created a new childform inside a parent form which loads at the bottom of the parent form and which had options to maximise and minimise and (naturally it can be dragged away from the parent form ).child form has tabcontrol inside it.
i am not using MDI container.

wat i need to do is ..


tabcontrol shold look as if it is loaded inside the panel(like its form invisible) when the childform is in the panel area.when drageed from it,it should look like it is in form


how to achieve this?

推荐答案



我猜您正在尝试将窗体停靠在面板中,并且将其从面板中拉出时必须是窗体.
检查此链接.希望它能解决.
http://documentation.devexpress.com/#WindowsForms/CustomDocument1265 [
Hi,

I guess you are trying to dock a form when its in a panel.and when its pulled from the panel, it must be a form.
check this link .Hope it works out.
http://documentation.devexpress.com/#WindowsForms/CustomDocument1265[^]


这篇关于父窗体中的子窗体的Tabcontrol的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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