473,387 Members | 3,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

vb .net 2003 tab control

I want something to update when I click on one of my tabcontrols. Is
there some kind of event that says if tabcontrol1 is clicked do
something?

I apologize for my crude description...I am really new to all this.

Thanks.

Apr 8 '06 #1
4 1152

"Stout" <wh*****@Yahoo.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
I want something to update when I click on one of my tabcontrols. Is
there some kind of event that says if tabcontrol1 is clicked do
something?


Where on the control? On a tab? On the body?

Apr 8 '06 #2
I created a tabcontrol with three tabs: A, B, C

When I click on tab 'C' I want to have a messagebox pop up that says
"Entered"

Thanks.

Apr 8 '06 #3

"Stout" <wh*****@Yahoo.com> wrote in message
news:11*********************@t31g2000cwb.googlegro ups.com...
I created a tabcontrol with three tabs: A, B, C

When I click on tab 'C' I want to have a messagebox pop up that says
"Entered"


Private Sub TabControl1_SelectedIndexChanged _
(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles TabControl1.SelectedIndexChanged
MsgBox("You selected tab " & CStr(TabControl1.SelectedIndex + 1))
End Sub

Apr 8 '06 #4
Thanks man...worked like a charm!

Apr 8 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sabine Oebbecke | last post by:
Hi Experts! I have several forms and reports where controls get their values with 'Forms!MainForm!Control' or 'Forms!MainForm!Subform!Control' resp 'Forms!MainForm!Subform.Form!Control' which...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
3
by: Arun Kumar | last post by:
Hi I am new to .NET. I have VS.NET 2003 and VS.NET 2005 Beta 2 Installed on my PC. I created a Windows Application which uses COM object. Its a simple test. When I Build the application on VS...
11
by: Lloyd Sheen | last post by:
Is there any one who has actually done this. I have now scanned more web articles about this with the realization that not one of them (including MSDN docs) outlines how to do this. This is...
5
by: news.microsoft.com | last post by:
Does anybody know if there is a component like the new outlook 2003 inbox. It has a really good drop down grouping feature, and visually looks very good. Thanks
0
by: Lee Ottaway | last post by:
Greetings I have been creating a new project in VB.Net 2002. As part of the project I designed a new user control that presents a string of numbers in the format I want to see them. It is in...
6
by: fripper | last post by:
I have just purchased a new system and am moving stuff off the old machine to the new ... including reinstalling VS .Net 2003 and several VB programs I had written. One of the programs uses a...
2
by: Deb | last post by:
The conversion of my department's 12 machines has gone really well and I have had no big problems with any of it. Now for another question -- Are there any new "goodies" in Access 2003 that are...
0
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.