Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
AnswerRe: TabControl events Pin
#realJSOP17-Dec-08 8:23
professional#realJSOP17-Dec-08 8:23 
GeneralRe: TabControl events Pin
Luc Pattyn17-Dec-08 8:52
sitebuilderLuc Pattyn17-Dec-08 8:52 
GeneralRe: TabControl events Pin
nlowdon17-Dec-08 10:15
nlowdon17-Dec-08 10:15 
GeneralRe: TabControl events Pin
Luc Pattyn17-Dec-08 10:22
sitebuilderLuc Pattyn17-Dec-08 10:22 
GeneralRe: TabControl events Pin
nlowdon17-Dec-08 10:41
nlowdon17-Dec-08 10:41 
GeneralRe: TabControl events Pin
Luc Pattyn17-Dec-08 10:57
sitebuilderLuc Pattyn17-Dec-08 10:57 
GeneralRe: TabControl events Pin
nlowdon17-Dec-08 11:10
nlowdon17-Dec-08 11:10 
GeneralRe: TabControl events [modified] Pin
Luc Pattyn17-Dec-08 11:18
sitebuilderLuc Pattyn17-Dec-08 11:18 
Clicking on any tab fires the SelectedIndexChanged event; so you should add a handler for that event, get the new tab page index from the SelectedIndex property, and act accordingly in your handler's code. I find myself adding a switch statement quite often in such a handler.

In order to add a handler, you can use Visual Designer, click the tab control, get its properties, get the events pane, and double-click the row for SelectedIndexChanged. That will create an empty handler, and generate the wiring for it. Or you can add it just by editing the code... (everything Designer does, you can code yourself also).

Smile | :)

?

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


modified on Wednesday, December 17, 2008 5:45 PM

AnswerRe: TabControl events Pin
#realJSOP17-Dec-08 9:17
professional#realJSOP17-Dec-08 9:17 
QuestionCredentials Pin
CodingYoshi17-Dec-08 7:03
CodingYoshi17-Dec-08 7:03 
AnswerRe: Credentials Pin
Pete O'Hanlon17-Dec-08 8:58
mvePete O'Hanlon17-Dec-08 8:58 
GeneralRe: Credentials Pin
CodingYoshi17-Dec-08 12:07
CodingYoshi17-Dec-08 12:07 
GeneralRe: Credentials Pin
Eddy Vluggen18-Dec-08 4:55
professionalEddy Vluggen18-Dec-08 4:55 
Questionhow can i write in Excel files and create spreadsheets using C# and Pin
ahmedhassan9617-Dec-08 6:24
ahmedhassan9617-Dec-08 6:24 
AnswerRe: how can i write in Excel files and create spreadsheets using C# and Pin
Pr@teek B@h!17-Dec-08 7:29
Pr@teek B@h!17-Dec-08 7:29 
QuestionWhat is the equivalent C# syntax of void SomeFunction( array<object^>^ &updatelist) Pin
s196675m17-Dec-08 6:22
s196675m17-Dec-08 6:22 
AnswerRe: What is the equivalent C# syntax of void SomeFunction( array<object^>^ &updatelist) Pin
Bram Fokke17-Dec-08 7:03
Bram Fokke17-Dec-08 7:03 
GeneralRe: What is the equivalent C# syntax of void SomeFunction( array<object^>^ &updatelist) Pin
s196675m17-Dec-08 9:54
s196675m17-Dec-08 9:54 
QuestionobjOleDbDataAdapter.Fill(objDataSet, tableName); with sybase Pin
codeadair17-Dec-08 5:02
codeadair17-Dec-08 5:02 
Questionis it possible to import a dll file which was developed my C# in to a asp.net application? Pin
MS Lee17-Dec-08 4:22
MS Lee17-Dec-08 4:22 
AnswerRe: is it possible to import a dll file which was developed my C# in to a asp.net application? Pin
Pete O'Hanlon17-Dec-08 4:33
mvePete O'Hanlon17-Dec-08 4:33 
AnswerRe: is it possible to import a dll file which was developed my C# in to a asp.net application? Pin
Paul Conrad17-Dec-08 5:46
professionalPaul Conrad17-Dec-08 5:46 
GeneralRe: is it possible to import a dll file which was developed my C# in to a asp.net application? Pin
MS Lee17-Dec-08 17:57
MS Lee17-Dec-08 17:57 
QuestionAssigning a null value Pin
ArielR17-Dec-08 2:11
ArielR17-Dec-08 2:11 
AnswerRe: Assigning a null value Pin
User 665817-Dec-08 2:13
User 665817-Dec-08 2:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.