|
-
Sep 16th, 2000, 08:37 PM
#1
Thread Starter
Junior Member
Hi,
If anyone can tell me how, I'd love to know.
Thanks.
-
Sep 16th, 2000, 09:53 PM
#2
What do you mean?
Click Project > Components... and make sure Common Controls 6.0 (or whatever version you have) is checked. Than place the TabStrip Control on your form and put the Textbox on your form, and you can change it like this:
Code:
Private Sub TabStrip1_Click()
'First Tab clicked
If (TabStrip1.SelectedItem.Index) = 1 Then Text1.Text = "You clicked tab 1"
'Second Tab clicked
If (TabStrip1.SelectedItem.Index) = 2 Then Text1.Text = "You clicked tab 2"
End Sub
-
Sep 17th, 2000, 09:56 AM
#3
Frenzied Member
Think he want's it on top of the TabStrip 
I think you need some serious subclassing look at:
http://www.mvps.org/vbnet/
Maybe they have some.
If Matthew understood you well (meaning I didn't ) it's the easiest to use a Select Case instead of If/Then.
Have fun!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 17th, 2000, 11:00 AM
#4
It stays on top. Just put the textbox right on the tabstrip and it'll be on top, at least for me it is.
You could also use the ZOrder method to put the textbox on top of the Tabstrip control.
-
Sep 17th, 2000, 11:06 AM
#5
In design mode, simply draw the TextBox on the TabStrip. If it appears behind the TabStrip, right-click the TextBox and select Bring to Front
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
|