Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataTable.Select and Expressions Pin
rog103927-May-04 10:26
rog103927-May-04 10:26 
GeneralDataset XML Diff Pin
MrJJKoolJ27-May-04 8:42
MrJJKoolJ27-May-04 8:42 
GeneralRe: Dataset XML Diff Pin
Dave Kreskowiak27-May-04 9:50
mveDave Kreskowiak27-May-04 9:50 
GeneralInserting SQLSever rows Pin
ABean27-May-04 8:41
ABean27-May-04 8:41 
GeneralRe: Inserting SQLSever rows Pin
Heath Stewart27-May-04 10:01
protectorHeath Stewart27-May-04 10:01 
GeneralRe: Inserting SQLSever rows Pin
Andy Brummer27-May-04 10:07
sitebuilderAndy Brummer27-May-04 10:07 
GeneralHot Keys on Tab Page Text Pin
UTRocketFan27-May-04 7:55
UTRocketFan27-May-04 7:55 
GeneralRe: Hot Keys on Tab Page Text Pin
Heath Stewart27-May-04 8:19
protectorHeath Stewart27-May-04 8:19 
Handle the KeyDown event of the TabControl and use something like this:
private void tabControl1_KeyDown(object sender, KeyEventArgs e)
{
  if (e.Modifiers == Keys.Alt)
  {
    switch (e.KeyCode)
    {
      case Keys.G: // For "General"
        tabControl1.SelectedIndex = 0;
        break;
      case Keys.S: // For "Security"
        tabControl1.SelectedIndex = 1;
        break;
    }
  }
}
Of course you'd use the Keys enumeration for the tab. If you want to make this localizable, you could do something like localize the TabPage.Tag property and enumerate through them. If that key was pressed, select that TabPage. There's many other ways you could accomplish this as well.

 

Microsoft MVP, Visual C#
My Articles
Generaldeploying assembly Pin
Ammar Ben Hadj Amor27-May-04 7:40
professionalAmmar Ben Hadj Amor27-May-04 7:40 
GeneralRe: deploying assembly Pin
Heath Stewart27-May-04 8:14
protectorHeath Stewart27-May-04 8:14 
GeneralBinding.Format to a Datagrid Column Pin
Anfernius27-May-04 7:11
Anfernius27-May-04 7:11 
GeneralRe: Binding.Format to a Datagrid Column Pin
Heath Stewart27-May-04 8:12
protectorHeath Stewart27-May-04 8:12 
GeneralRe: Binding.Format to a Datagrid Column Pin
Anfernius27-May-04 8:32
Anfernius27-May-04 8:32 
GeneralRe: Binding.Format to a Datagrid Column Pin
Heath Stewart27-May-04 8:35
protectorHeath Stewart27-May-04 8:35 
GeneralClosing a Worker Thread when Dialog Closes Pin
Guinness4Strength27-May-04 5:37
Guinness4Strength27-May-04 5:37 
GeneralRe: Closing a Worker Thread when Dialog Closes Pin
scadaguy27-May-04 10:44
scadaguy27-May-04 10:44 
GeneralRe: Closing a Worker Thread when Dialog Closes Pin
Guinness4Strength27-May-04 10:48
Guinness4Strength27-May-04 10:48 
GeneralPorting from C# to VC++ Pin
Prakash Nadar27-May-04 5:09
Prakash Nadar27-May-04 5:09 
GeneralRe: Porting from C# to VC++ Pin
Guinness4Strength27-May-04 5:46
Guinness4Strength27-May-04 5:46 
GeneralRe: Porting from C# to VC++ Pin
Heath Stewart27-May-04 5:48
protectorHeath Stewart27-May-04 5:48 
GeneralRe: Porting from C# to VC++ Pin
Prakash Nadar27-May-04 8:07
Prakash Nadar27-May-04 8:07 
GeneralRe: Porting from C# to VC++ Pin
Heath Stewart27-May-04 8:11
protectorHeath Stewart27-May-04 8:11 
GeneralRe: Porting from C# to VC++ Pin
Prakash Nadar27-May-04 8:17
Prakash Nadar27-May-04 8:17 
GeneralCanon Makernote Pin
devries4827-May-04 3:29
devries4827-May-04 3:29 
GeneralRe: Canon Makernote Pin
Heath Stewart27-May-04 5:41
protectorHeath Stewart27-May-04 5:41 

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.