Problem: Programming Tab Control

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Problem: Programming Tab Control

 
0
  #1
Mar 24th, 2005
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. :-|
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Problem: Programming Tab Control

 
0
  #2
Mar 24th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Re: Problem: Programming Tab Control

 
0
  #3
Mar 24th, 2005
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!
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 1
Reputation: Monster17 is an unknown quantity at this point 
Solved Threads: 0
Monster17 Monster17 is offline Offline
Newbie Poster

Re: Problem: Programming Tab Control

 
0
  #4
Aug 5th, 2005
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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC