Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Tabs..in Forms


I've seen tabs done in forms how do I do that?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Tabs In Forms
Can anyone recommend a tutorial on using tabs in forms and getting them to relate back to a recordset to display information. In a sense, the tab should allow me to display info in one form rather than in 4 different forms; but the info will be selected from 1 recordset.

Thanks

Add Tabs To Forms?
I have used an app that had tabs on the bottom of the display to change forms i believe...How can you do this?

Mdi Forms To Tabs
i have a mdi applications, is there any way i could force all of the mdi windows into tabs on the mdiform?

Forms In Tabs
Is this possible in VB? If so, how? Is it bad design?

I would like my app to have a few multitab dialog screens(about 6 tabs per each dlg).

But I would prefer to use the seperate standalone forms I've created and 'paste' them into each tab. The reason I'd like to do this is because I may also have need to just pop open a single form without the need to pull it up with all the other tabs it is grouped with.

The whole idea about putting tabs together is to keep related info together. But there will be some instances when the user may need screens open from 2 different dialog tab collections. I'd like to do this without having to open the whole tab collection.

thanks in advance for any help

Making Forms With Tabs
how do i make the tabs like the ones you see in options screens and propertys menus of windows?

Tab Control (of 3 Tabs) Contain 3 External Forms. Is It Possible?
Hello,

Suppose, I have 3 forms(having some controls) saved somewhere in my harddisk. I create 4th form having Tabstrip control(or Tabbed Control) with 3 tabs. Is it possible to put these 3 forms on these 3 tabs??

I hope you got my point. Please reply me.

Performance Check - Using Tabs Instead Of Multiple Forms
this is what i'm trying 2 do.
i have a SSTab control on my form (frmMain) and have like 10 tabs on them. Each tab has multiple controls in it. The first tab is order details where in a user can enter details of a new order. The second has customer info. The third employee details. So on and so forth. frmMain is the main page and loads when the ap starts.
I would like to know if all the tabs (and controls in each) are loaded at this time and does that consume a lot of resource. Can this slow down the system and also make the ap run slower?
If this happens is it better to have each 'tab' as a separate form for better performance?
awaiting 4 ur replies

Loop Through Absolutely All Open Forms /Subforms /Tabs / Controls
Hi, I know I am posting a lot of questions, feel free to ignore them if they become irritating. Here is one more problem. In a previous post, I posted a code that I had worked out which allowed me to reset the Recordsource of certain combo boxes based on their names in all forms and subforms that were open. At least that's what I thought it would do. In fact it only goes one level deep, so that if your subform has a subform (or the dreaded tab collection) then it won't touch those. Once again VBA has thrown me for a loop, quite literally. I am sure it is an easy task but I can't figure it out. How would I loop through absolutely all open forms/subforms/sub sub forms/ tabs in subforms etc. ? I need to go n+ levels down. I post my original code so you can see my thinking.


Code:




Dim frm As Form, intI As Integer
Dim intJ As Integer
Dim intK As Integer
Dim intControls As Integer, intForms As Integer
Dim intsubControls As Integer
Dim subfrm As Form
intForms = Forms.Count ' Number of open forms.
If intForms > 0 Then
For intI = 0 To intForms - 1
Set frm = Forms(intI)
Debug.Print frm.Name
intControls = frm.Count
If intControls > 0 Then
For intJ = 0 To intControls - 1

If (frm(intJ).Name = "region_id") Then

frm(intJ).RowSource = "SELECT region_name, region_id FROM region ORDER BY region_name;"

End If

If (TypeOf frm(intJ) Is SubForm) Then

intsubControls = frm(intJ).Form.Count

Set subfrm = frm(intJ).Form

For intK = 0 To intsubControls - 1

If (subfrm(intK).Name = "region_id") Then

subfrm(intK).RowSource = "SELECT region_name, region_id FROM region ORDER BY region_name;"

End If

Debug.Print subfrm.Controls(intK).Name

Next intK

Debug.Print intsubControls


End If

Debug.Print frm(intJ).Name

Next intJ

End If
Next intI

Else

MsgBox "No open forms.", vbExclamation, "Form Controls"

End If

Link Tabs To Command Boxes Simultaneously Update Each Tabs Info
I have about 3 tabs with labels and corresponding text boxes for each tab. On the main part of the form, which is the part that doesn't change when i click on different tabs i have an import, modify, update button.
The import button imports information from Excel into each textbox for one tab but how do i get it to import to the other tabs at the same time?
the information that i need to import is in one file in one column but it needs to span through to 3 tabs. ( i don't want to put all the information from the 3 tabs into one tab.)

I've used a control array and a for next loop to import the info to tab 1 but how do i simultaneously update the other 2 tabs with the rest of the info from the file?

Tabs...
Ok I want to make a form layout that has Tabs at the top of the form for differnt forms. Kinda like the "Home" and "Profile" pm the top of this page. Anyone know what Im talkin about?

Tabs
How do you go about setting up a menu that has the visual effect of tabs?

How To Use Tabs?
EDIT: figured out some basics, but how do I make its appearance 2-d/flat?

Using Tabs
I've set up two tabs but I can't figure out how to get the second tab to bring up a different form when clicked. When I run the program it just stays on the same form no matter which tab is clicked. Is there a simple way to set this up?

Tabs
K if any of you have use Windows Media Player before then you will know what I'm talking about. There's a few buttons on the left that if you press it will go to different forms but it doesn't look like a different form. How would I do this. Would i make the same sized picture boxes and then just put what i want in each one?

Help With Tabs
Hi everyone. Can you guys help me with this?

I have two tabs in my form. One for vessel information and another one for employee information. I have in the menu, one selection for add vessel, and another one for add employee.

When I click add vessel I want the tab to switch to Vessel information, and when I click add employee i want the tab to switch to employee information. How can I accomplish this? Is there anyway to set the current state of the tabs?

Thank you very much

Tabs
how do i switch to a different view on a tab strip during runtime? i can do it with a sstab, but not a tab stip, is there some trick to it?

Tabs
hi.

i want to get a button that adds to a caption thats easy. the problem is that this caption is inside a tab on another form so that when a number is entered into a text box and hte button is pressed, that value is added to the number on the caption in the tab on the other form . heres the cod i have so far


Code:
Private Sub Command1_Click()
FleetStatus.SSTab1(1).ShipNo.Caption = FleetStatus.SSTab1(1).ShipNo.Caption + Text1.Text
End Sub

FleetStatus is the page
SSTab1 is the name of the tab thing
ShipNo is the name of the Label that i want to add to

please help me

Can You Put Tabs In VB?
I've been wondering if you could put tabs in your application. You know what I mean by tabs? I don't think i need to explain it to any of you as you guys have more expirience then I do. thanks for the help in advance

Tabs?
I need to use tab button for textbox to textbox. eg. when im at txtbox1, then I press tab, it will go to txtbox2, then 3, then 4 and so on. Must they be in order in the codes?

Tabs
i wan to make tabs.
i have the microsoft ones
but if i hover over the actuall icon it pops up sstabs
i wouldn't care except that i can only make three tabs i need like five can any1 help?

Using Tabs
I'm pretty sure this isn't the correct code, because only the '0' case works on the second tab:


Code:
Select Case TRotation.TabIndex

Case 0
Label1.Caption = "0"
Case 1
Label1.Caption = "1"
Case 2
Label1.Caption = "2"
End Select

What do I need to change?

Tabs
can anyone provide an example for using tabs to switch between child windows?

How To Add Tabs
I'm kind of a newbie to VB. I've searched the help disk and didn't find any easy help.

I would like to have a couple tabs in my program to split up the ever increasing text fields we have. How do I make my program with tabs? Is it very difficult? (I guess I'm hoping it's as easy as laying out a normal form window.)

Thanks!

Need Help With Tabs
lets say you have a tabed dialog witha few tabs and that you want on one of those tabs there to be another tabed dialog.

how would I be able to but a tabed dialog into a tab on a tab dialog?

Thank you


Never mind I figuered it out

Thanks

Tabs
I've programmed in FoxPro for years. When I put objects on a tab, I would
right click the tab and choose edit, easy.
I'm trying to do the same thing in VB but can't figure out how to add
objects to a tab or a frame.
I saw a suggestion (use the other tab control {tabctrl32.ocx} on another
news group but since I have "Microsoft Common Controls" added to my project
(in use) I can't remove it and the other reference.

The question is, if I start another project "for this one form" how do I
call it when it is time to use it?
And do I create as a dll?

Please help, I'm getting very frustrated.

Using Tabs
Does anyone know how to code up the Tabstrip? if so please help.......

Using Tabs
While trying to use the tabbed dialog control for a large project we ran into the problem of reaching our control limit. We have tried using arrays but the project must send/and received values to and from databases, reports, and files so it is difficult to create all arrays! I was wondering if there is any way to create a tabular look and feel yet having each tab open up a form? Even if there is a way to layer several forms with tabs for the appearence of 14 tabs when there may actually only be one or two per form.
AT this point we are willing to try anything and welcome all suggestions


<P ID="edit"><FONT class="small"><EM>Edited by nighthawk on 06/25/01 11:53 AM.</EM></FONT></P>

Tabs
how do i create a tab for a txtFile using a strTab?

Tabs
i use sstabs and i want to add a commandbutton to select a certain tab,, i have 3 on thier.. i just want the one i choose to show... anybody tell me how please asap

Tabs
I'm making an irc client, and want to have one tab for evey channel and a status window for every server, similar to the way mIRC does. so, how can I make it so it creates a new tab dynamically, no limit on the number of tabs, and every tab shall have its own textbox control.

MDI Tabs?
Hi!

I have made one MDIform1 and there is toolbar and tabstrip1. Then I got on form1 that is MDIchild... I got one button where I can make so many new form1 that I want... How I can make that when I press one tab then on form1 would come always top and so on...

Tabs
I was wondering if anyone could tell me how to place content into tabs.
I'm very confused so dont assume I know what I'm doing.
Thanks

Using Tabs....
Using Tabs... I have no Idea. how too...

basically this is what Im gonna do with them.

I have (5 Tabs) each its own Labels and Frames and Buttons and Such. Each one works indiviually and will never know the other one exists. So each one will have its own Private Function made for it. My thing is, How do I make these labels and Stuff for the Tab? The First one I see will be on each of the Tabs... How do I make indenpendant Stuff for each Tab>

Help...

Thanks!

MDI Tabs
Is there a way to work in visual basic with MDI tabs ?

Thx in advance

How To Get Rid Of Tabs
VB6
I have a text file which contains

Code:
'mytxt.txt
this is txt file
for excieses

which contans tabs

i wnat to get rid of it
All the empty line contains one or several tabs " ... "

My code is

Code:
Line input #1, strTemp
if trim$(strTemp<>"")
strArray(index)=strTemp
My intention is to store all row of txt file to an array of strings except
the empty row, but it does not work maybe because trim can not take care of tab.
how can i acheive my goal?
Thanks

Tabs...???
Hi all..

I have a an options dilog with a tab thing on it..

how do i access the other tabs so that i can place controlls under say Group2 rather than the defualt Group1...


Thanks heaps,
Someone

X-Tabs... Please Help!
Well i no longer have X-Tabs and i need them for my program, do you have a download link for them e.c.t

Thanks

Using Tabs With VB6
Sorry for another question so soon, but I am also wondering how I would implement tabs into a VB6 application. Would I have to add a certain control? If so, what code would I use?

Tabs??!!
okay, lets say i have a SSTab and 2 tabs in it and i have a command button (Command1). How do i make it so that when i click on the first tab in the SSTab it will make the Command1 NOT visible and then when i click on the second tab it will make the Command1 visible again. How do i do this? Please help...Thank You.

Tabs
I've just started learning VB, using Microsoft VB6 and I haven't been able to find a way to do tabs. I'm sure this is really simple. Can someone please help?

Tabs
How can I change the tab that is selected on a tab?

Tabs
I want to use tabs, but I really dont know how to work with it, hot make commands on each tabs, is 1 tab 1 form?

basicly, I want to know everything about tabs, how to modifythem, and how to make them work.

Thank you

Tabs??!!
yes, I was wondering i have a SSTabs object with about 7 tabs in it in my project, now i was wondering if anyone know how i can make a button to make it change tabs one by one everytime i click it. Anyone know how to do this. Please help..

About Tabs
What are the differences, pros and cons of tabstrip vs sstab? Before I start working on a new peoject I'm wondering which one would suit me best.

Tabs In Vb 6
How can we create tabs in VB 6.0?

Tabs
how can i create tabs in vb?

i will need it to create tabs, so it will change different layours of the application, any ideas?

i tried frames, but thats not much good

Tabs?
I need to use tab button for textbox to textbox. eg. when im at txtbox1, then I press tab, it will go to txtbox2, then 3, then 4 and so on. Must they be in order in the codes?

Tabs
How do I get multiple tabs in a tab strip.

Thanks,
Sai Abhiram Bandhakavi

Tabs
when i add a tabstrip into my form and add tabs with captions but when i add a textbox / cmd button it appears on all tabs how do i fix it i doubt there is code?

Copyright © 2005-08 www.BigResource.com, All rights reserved