|
-
Mar 26th, 2002, 01:35 PM
#1
Thread Starter
Lively Member
Create a tab?
How can I create a tab on my form? I was going to use multiple forms but I think tabs would be cleaner for the user.
-
Mar 26th, 2002, 01:40 PM
#2
Lively Member
there is a tab control you can place on your form
Its not a bug
Its a undocumented feature !
-
Mar 26th, 2002, 01:42 PM
#3
Thread Starter
Lively Member
Do I need to import it? I can't seem to find it.
-
Mar 26th, 2002, 02:10 PM
#4
Lively Member
click projects
click components
then find microsoft tabbed dialog control
tick the box and apply
if you do not find it this way
do a search for tabctl32.ocx
and browse to it
Its not a bug
Its a undocumented feature !
-
Mar 26th, 2002, 06:43 PM
#5
Thread Starter
Lively Member
Cool thanks!
Now that I've created 5 tabs, how can I have the information on each tab be different? I've got 3 frames created for tab1 but they show up on all 5 tabs.
-
Mar 26th, 2002, 07:13 PM
#6
Are you using the TabStrip control or the SSTab control?
-
Mar 26th, 2002, 07:15 PM
#7
Thread Starter
Lively Member
-
Mar 26th, 2002, 07:16 PM
#8
The way I do it is to create multiple FRAME controls and the when a user clicks a tab, I ZOrder the appropriate frame (bringing it to the front or top).
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 26th, 2002, 07:22 PM
#9
If you move a control, that wasn't first created on the tab, to a tab then it's parent is the form and it will stay, if you create it initially on the tab or cut and paste it right on to the tab it should have the tab as its parent and work right.
-
Mar 26th, 2002, 07:29 PM
#10
Thread Starter
Lively Member
I'm not sure I follow. I created my form, added the tab component, then added the tab to my form. Then I created three frames on the first tab thinking those three frames would only stay on that one tab. Should I go about this some other way?
-
Mar 26th, 2002, 07:32 PM
#11
Hmm that shoulda worked! What I meant was sometimes it gets freaky when you create a control on the form and then try to move it onto the Tab.
-
Mar 26th, 2002, 07:33 PM
#12
Thread Starter
Lively Member
Oh ok, I see. Well I'm not sure why this would be happening to me. Maybe I'm missing a property setting or something? Any ideas?
-
Mar 26th, 2002, 07:55 PM
#13
I never got the tab control to handle it automatically.
What I ended up having to do is modify those ZOrders to pull the right frame above the other frames, and I think you are going to have to do that also.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 26th, 2002, 07:58 PM
#14
Here is an old build of a program of mine that uses this sort of a feature.
Go ahead and check out how I did it
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 26th, 2002, 08:29 PM
#15
You shouldn't need any props, that is wierd here I know it works check it out (attached).
-
Mar 26th, 2002, 08:35 PM
#16
Frenzied Member
Edneeis is right...
Originally posted by Fool
I'm not sure I follow. I created my form, added the tab component, then added the tab to my form. Then I created three frames on the first tab thinking those three frames would only stay on that one tab. Should I go about this some other way?
When you created the frames, if you did so by double-clicking the tool, then the frame was placed on the form and not on the tab. Make sure the tab you want is foremost and then draw the control onto the tab.
-
Mar 26th, 2002, 09:31 PM
#17
Thread Starter
Lively Member
Originally posted by John McKernan
When you created the frames, if you did so by double-clicking the tool, then the frame was placed on the form and not on the tab. Make sure the tab you want is foremost and then draw the control onto the tab.
That did it. Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|