多个tabcontrols [英] Multiple tabcontrols

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

问题描述

这是以前的帖子的扩展,已经为我回答了,

感谢那些回复的人。但这是我的用户的另一个请求。它是否可以有一个子窗体有一个tabcontrol,然后在选项卡控件的第一个选项卡上有另一个

tabcontrol?我已经尝试过这种方式在子表单上放置两个选项卡

控件但是第二个控件只会附加它

self到子表单而不是tabcontrol的第一个选项卡。

TIA

Tony Williams

This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it
possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I''ve tried putting two tab
controls on a sub form this way but the second control will only attach it
self to the subform not the first tab of the tabcontrol.
TIA
Tony Williams

推荐答案

Tony Williams写道:
Tony Williams wrote:
这是以前帖子的扩展,已经为我回答了,
感谢那些回复的人。但这是我的用户的另一个请求。是否有可能有一个具有tabcontrol的子窗体,然后在选项卡控件的第一个选项卡上有另一个
tabcontrol?我已经尝试过这种方式在子表单上放置两个选项卡
控件,但第二个控件只会将它附加到子表单而不是tabcontrol的第一个选项卡。
This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it
possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I''ve tried putting two tab
controls on a sub form this way but the second control will only attach it
self to the subform not the first tab of the tabcontrol.




从什么时候用户知道他们想要什么? :-)这确实不可能。

这个表格背后的愿望是什么?


-

Bas Cost Budde ,荷兰
http://www.heuveltop.nl/BasCB/ msac_index.html

我更喜欢人工邮件高于自动化,所以在我的地址中

用茶替换队列



Since when do users know what they want? :-) This is impossible indeed.
What could be the wish behind this form?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea

大约有12个选项卡控件,所以我的想法是构建一个

层级结构,其中包含3个tabcontrols,然后每个都有4个tab

控件。

Tony

" Bas Cost Budde" < B ********* @ heuvelqop.nl>在消息中写道

news:cp ********** @ news2.solcon.nl ...
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony
"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote in message
news:cp**********@news2.solcon.nl...
Tony Williams写道:
Tony Williams wrote:
这是以前帖子的扩展,已经为我回答了,
感谢那些回复的人。但这是我的
用户的另一个请求。是否有可能有一个具有tabcontrol的子窗体,然后在选项卡控件的第一个选项卡上有另一个
tabcontrol?我已经尝试过这种方式在子表单上放置两个
选项卡控件,但第二个控件只将
自身附加到子表单而不是tabcontrol的第一个选项卡。
This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I''ve tried putting two tab controls on a sub form this way but the second control will only attach it self to the subform not the first tab of the tabcontrol.



从什么时候用户知道他们想要什么? :-)这确实不可能。
这种形式背后的愿望是什么?

-
Bas Cost Budde,荷兰
http://www.heuveltop.nl/BasCB/msac_index.html
我喜欢人工邮件高于自动化,所以在我的地址
用茶替换队列



Since when do users know what they want? :-) This is impossible indeed.
What could be the wish behind this form?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea



" Tony Williams" < tw@tcpinvalid.com>在消息中写道

新闻:cp ********** @ titan.btinternet.com ...
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
大约有12个标签控件所以这个想法是建立一种
层级结构,说3个tabcontrols然后每个都有4个tab
控件。
Tony
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony




您可以在TabControl上放置子窗体并在

子窗体上放置另一个TabControl。这将在

TabControl中给出TabControl的外观。


您还可以在前面放置一个TabControl。另一个TabControl并使用

TabControl的Change事件你想成为隐藏

子TabControl的父项,除非选择了父级的特定页面。 />

这也给出了另一个TabControl中TabControl的外观,

但是在设计视图中可能很难处理,因为在那个视图中

子TabControl始终可见并遮挡父控件的其他页面上的对象。如果你不介意将它移开,而你需要在表格上工作,然后在完成后将其重新放回原位

不要太多不好。


-

我没有查看附加的电子邮件帐户

到此消息。发送给...

在Hunter dot com的RBrandt



You can place a subform on a TabControl and place another TabControl on the
subform. This will give the appearance of a "TabControl within a
TabControl".

You can also place a TabControl "in front of" another TabControl and use
the Change event of the TabControl you want to be the parent to hide the
child TabControl except when a particular page of the parent is selected.

This also gives the appearance of a TabControl within another TabControl,
but can be awkward to work with in design view because in that view the
child TabControl is always visible and obscuring objects on other pages of
the parent control. If you don''t mind moving it out of the way while you
work on the form and then putting it back into position when finished it''s
not too bad.

--
I don''t check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


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

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