regarding about vb6 SStab wif auto add on tab

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

Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

regarding about vb6 SStab wif auto add on tab

 
0
  #1
Oct 13th, 2005
i need some help over here, as i`m quite new to this program.

i have some problem over on how to create.

i need 1 tab to be on the screen but inside the tag i got 2 button.
the button is auto add on whenever i do update on database.

now wat i need is.
i wan my 1st tab to contain 2 button only, then when i hav 3 button it will auto create a extra tab and put the 3rd button on the tab and so on.

therefor, when i update the database.
like; in the database have 6 button.
there will be 3 tab, each hav 2 button.

if can send me some of similar/sample coding.
i need it asap
thanks a lot

best regards
bang
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 45
Reputation: maheshsayani is an unknown quantity at this point 
Solved Threads: 2
maheshsayani's Avatar
maheshsayani maheshsayani is offline Offline
Light Poster

Re: regarding about vb6 SStab wif auto add on tab

 
0
  #2
Jul 26th, 2006
Hi
To Create TabUse Control Array

Load SSTab1(NextIndexValueofTab)' Used to create tab

load Command1(NextIndexValueOfCommand) ' used to create button

Command1(Index).container = SSTab1(Index) ' used to set button on required sstab

Just Try This.
I Had no VB in this system so iam unable to check the code this is my idea
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 45
Reputation: maheshsayani is an unknown quantity at this point 
Solved Threads: 2
maheshsayani's Avatar
maheshsayani maheshsayani is offline Offline
Light Poster

Re: regarding about vb6 SStab wif auto add on tab

 
0
  #3
Jul 26th, 2006
Hello
Please set the SSTab And Commabnd1 properties like visible,Top,Left after creaton
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC