944,022 Members | Top Members by Rank

Ad:
Mar 24th, 2005
0

Problem: Programming Tab Control

Expand Post »
As basic as this may be for you experienced programmers, this leaves me baffled. I have a copy of VB6 I obtained as an employee of a Microsoft Certified Solutions Provider, but it didn't come with the MSDN Library so I don';t have access to any online help (BTW, if anyone knows where I can get a copy of the library...).
Anyway, I can't figure out how to work with a tab control. Other programs I've tried allow you to just select a tab and place controls, then select another tab and place more controls, etc. No so with VB6. I place the tab control, and I have to modify a property to change the active tab, which is convoluted enough. Problem is, I can't figure out how to be able to put different sets of controls on each tab that can be switched between at runtime.
I don't necessarily need any code snippets, if someone could just explain the concept that would help greatly. :-|
Similar Threads
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Mar 24th, 2005
0

Re: Problem: Programming Tab Control

you have to draw them onto the control. if you just double click it, it will stick it on the form (you could also, if you have the controls on the form, and want to stick them on a tab, highlight the control, and cut it... then make sure the tab control (the one that you want the controls to go on) is active, and the entire control is selected, then paste). This will have it work the way you expect.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Mar 24th, 2005
0

Re: Problem: Programming Tab Control

Thanks! I thought I'd tried that, but I'll try it again with a bit more attention. I had tried a program a few months ago called "Revolution", and it's method of using tab controls was just plain ridiculous; required you to create a set of controls for each tab, create a group from them, then write code that switched between the groups depending on which tab was clicked. I think my first shot with VB6 seemed to have made me think there was a similar thing involved. Thanks for the tip!
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Aug 5th, 2005
0

Re: Problem: Programming Tab Control

Mate,

Why don'y you try 'Smart Tabbed Dialog Control'.It seems that it may solve allyour problems.I have already tried it 2 times in my application
and it is affordable to. go download from the location below.

http://www.adroittech.in/redirect.asp?id=1&type=dw

When in doubt ask me @ certain features.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Monster17 is offline Offline
1 posts
since Aug 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: How to change it to upper case in a database
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Formatting clipboard text for spreadsheets





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC