We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

TABSTRIP

MAVERICK
MAVERICK asked
on
Medium Priority
566 Views
Last Modified: 2008-02-01
how do you switch tabs in design view.. so you can draw in more that the first box
Comment
Watch Question

Commented:
Can you give me a little more information?

Sincerely,
Jason

Jason Gorman (jason_gorman@scholars.com)
Learning Advisor, scholars.com
Microsoft Authorized Technical Education Center
Novell Authorized Online Training Provider
http://scholars.com

I am using the sstab control and it is very simple to put controls on each tab, simply draw the control on the first box, then click on the tab control and move to the box you want, and draw the control on, and so on.
If you need more help, just ask

Alon

Commented:
I am asuming you are using the standard VB Tabstrip control. If that is so you do not actually have tabs. What I do is use frames and make them visible and invisiblea as the user clicks on the tabstrip. ex.

Dim PrevTab As Integer

Private Sub TabStrip1_Click()
    Frame1(PrevTab).Visible = False
    Select Case TabStrip1.SelectedItem.Index
        Case 1: Frame1(0).Visible = True
                PrevTab = 0
        Case 2: Frame1(1).Visible = True
                PrevTab = 1
    End Select
End Sub

In design time create frames which you setup above one another and just move them around in design time to see them.

If this is what you are looking for I will post it as an anwser.

Author

Commented:
I'm interested in the Alternate SSTAB control......oak Thanks


Veroland ..... I'll try and get the method u suggested going.....
If I get the ur method going ,,,, I'll submit anothe Q so I can accept the two valid answers...


Commented:
Just remember, 3rd party tools means usually more ocx problems, and I've had problems with the sstab32.ocx. But on the other hand I usually use the SSTab myself.

Author

Commented:
Yeah, But where do you get it.....
A URL would be better but if not email me tomcat203@geocities.com

Author

Commented:
To Veroland....
I'm  still not sure how to select the various Tabs in design view........... I can't seem to select the container for the other TABS

Author

Commented:
Where do you get the SSTAB control from or another equivelent........

I rejected the answer to reopen it...... If you can tell me where to get it from .... resubmit!!!

Commented:
Enclose all the controls for the first page inside a picturebox or borderless frame, next insert another frame and put the controls for the second page inside it, you can switch between the frames (pages) in design mode simply using the "bring to front"/"send to back" shortcut keys. have fun !

Author

Commented:
.... If you put one frame inside another.... It didn't work!!..... sorry.... eventually I solved the problem by using Verolands Code... sorry for rejecting it.. but I spent ages try with one frame inside the other!


Veroland: Please Resubmit as answer

 
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Veroland... did u catch the other question ??????

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.