通过Tab Strip Control将内容与选项卡关联 [英] Associating content to tabs via Tab Strip Control

查看:72
本文介绍了通过Tab Strip Control将内容与选项卡关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在VBA学习曲线上取得了进步,但又需要你的帮助。 Application是一个简单的用户表单,包含几个框架中的静态信息。没有动态内容在运行时担心。


问题:在设计时将特定内容与标签条控件上的特定选项卡相关联。看起来应该是一个扣篮,但我在搜索中找到的所有内容都是以编程方式动态更改/添加标签的大量编码。当然,我必须能够在设计时指定哪些特定内容(例如,具有其关联控件的框架)与tab1相关联,哪些内容与tab2相关联,等等。但是怎么样?我读到了听起来很有希望的标签集合编辑器,但标签条控件的属性框并没有显示如何激活该编辑器。那个编辑器不是VB6的功能吗?


简单的一旦你知道怎么做,我很有把握,但直到那时,这是一个谜。任何人? TIA


Annie

Hi all, I''m making progress in the VBA learning curve, but need your help again. Application is a simple user form containing static info in several frames. No dynamic content to worry about at run time.

Problem: Associating specific content with specific tabs on a tab strip control at design time. Seems like that should be a slam dunk, but all I can find in searches is lots of coding for dynamically changing/adding tabs programmatically. Surely I must be able to designate what specific content (say, a frame with its associated controls) gets associated with tab1, what content gets associated with tab2, and so on, at design time. But how? I read about the tab collection editor that sounds promising, but my properties box for the tab strip control doesn''t show how to activate that editor. Is that editor not a VB6 feature?

Simple once you know how, I''m sure, but till then, it''s a mystery. Anyone? TIA

Annie

推荐答案

亲爱的,


我认为你必须选择属性在编辑器的下拉菜单中。

(见附图)


在此,您可以定义标签条的所有参数。


我希望这会对你有所帮助。



br,





Dear,

I think you must select the "Properties" in the drop-down menu on the editor.
(see attached picture)

In this you can define all parameters for the tabstrip.

I hope this will help you.


br,
附加文件
tabstrip.zip的属性(18.0 KB,624 views)
Attached Files
Properties of tabstrip.zip (18.0 KB, 624 views)


感谢您花时间回复并包含屏幕截图,但是那不是我所说的。我需要了解如何启动标签集合编辑器(我猜)或其他一些界面,它允许我在设计时将内容与标签条上的特定标签相关联。我甚至没有看到你发布的屏幕截图,它肯定不在我的属性框中用于标签条控件。
Thanks for taking the time to reply and include screen shots, but that doesn''t do what I asked about. I need to find out how to launch the tab collection editor (I guess) or some other interface that lets me associate content with a particular tab on the tab strip at design time. I don''t see that even in the screen shots you posted, and it certainly isn''t on my properties box for the tab strip control.


在IDE中,选择标签,绘制框架,选择其他选项卡以确保框架消失,返回并确保它再次出现。如果出现在所有选项卡上,则选择框架,CTRL + X选择选项卡,CTRL + V,重复可见测试以确保。将控件粘贴到特定框架中同样如此...



好​​运
In IDE, select tab, draw frame, select other tab to make sure frame dissapears, go back and make sure it reappears. If appears on all tabs, then select frame, CTRL+X select tab, CTRL+V, repeat visible test to make sure. Same goes for pasting controls into the specific frame...



Good Luck


这篇关于通过Tab Strip Control将内容与选项卡关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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