问题描述
大家好,我在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
推荐答案
这篇关于通过Tab Strip Control将内容与选项卡关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!