Click to See Complete Forum and Search --> : One form, multi-top-tags, multi-faces display
February 4th, 2000, 03:47 PM
When you check Windows property settings, through Control Panel, You will see that a typical interface is one window with many tags on the top. Clicking these tags leads to different infomation show in the same window. That is very cool!. I wonder how to design it in VB. Where can I find a code sample in website?
Dhirendra123
February 4th, 2000, 06:14 PM
Add new component "Microsoft Forms 2.0 Objects Library", to your VB ( Project -> Component).
This would give you additional controls on the toolbox. One of them is "MultiPage". Use this. When you click on the control on the Vb form, you can insert more pages to the tag and can customize them as per your need.
Hope this helps.
February 10th, 2000, 12:09 PM
Thank you very much for your help!
After I select Microsoft form 2.0 Object Library(FM20.dll), I can setup a multipage control into a VB form, The PROLEM is I cann't REACH page 2 by Clicking on the tag of page2. While, In comparison, I Opened VB editor for Excel and attached a multipage control into a userform, the page 2 can be reached. The fm20.dll files for my VB6 and VBA are same in size and date. Since this is my first time to use multipage control, I don't know if that difference is normal. How can I reach page 2 (and 3, 4.) to add controls at design time? really frustrated, since I cann't find a sample around.
Thanks for help!
Sam
Corneliu.Tusnea
February 11th, 2000, 08:10 PM
Hi,
You have to RightClick on the Tab.
Then click Edit. This will give you the option to change the Tab.
Unfortunately is not ver usefull, because it does not realy changes the tabs, but only the title.
What you have to do, is to make your own 2 frames (for 2 tabs), add and design all your controls on those frames, place the frames one over the other, and both over the tabcontrol.
Then in the "Change" event of the tab, see which is the active tab, and show the required frame.
Quite hard, especialy if you have lots of tabs.
Instead, you could use the "Microsoft Tabbed dialog control(SP3)", which has a better TAB control.
Good luck,
Corneliu.
Corneliu I. Tusnea
Infopulse Romania
Ravi Kiran
February 12th, 2000, 04:13 AM
2 main controls for this
1. Tabstrip control from the COmmon Controls set. it requires some writing to get it working. and also the design time behaviour is not same as runtime, However it may look like other windows apps, if you care!
2. Other is Sheradian tab called SSTab i thing.
This one is nice and its design time is same as runtime.
Check them out
RK
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.