Click here to Skip to main content
16,003,611 members
Home / Discussions / C#
   

C#

 
GeneralRe: Task bar programming Pin
Dave Kreskowiak4-Nov-04 6:37
mveDave Kreskowiak4-Nov-04 6:37 
Generalmerging dll's Pin
sianatia4-Nov-04 0:29
sianatia4-Nov-04 0:29 
GeneralRe: merging dll's Pin
sreejith ss nair4-Nov-04 0:56
sreejith ss nair4-Nov-04 0:56 
GeneralRe: merging dll's Pin
sianatia4-Nov-04 6:58
sianatia4-Nov-04 6:58 
GeneralRe: merging dll's Pin
leppie4-Nov-04 1:42
leppie4-Nov-04 1:42 
Generalusing windows dll Pin
sianatia4-Nov-04 0:26
sianatia4-Nov-04 0:26 
GeneralRe: using windows dll Pin
Colin Angus Mackay4-Nov-04 0:50
Colin Angus Mackay4-Nov-04 0:50 
GeneralRe: using windows dll Pin
sreejith ss nair4-Nov-04 0:54
sreejith ss nair4-Nov-04 0:54 
QuestionHow to write a music player? Pin
zuschauer19803-Nov-04 21:50
zuschauer19803-Nov-04 21:50 
AnswerRe: How to write a music player? Pin
Corinna John3-Nov-04 23:18
Corinna John3-Nov-04 23:18 
GeneralRe: How to write a music player? Pin
exhaulted3-Nov-04 23:38
exhaulted3-Nov-04 23:38 
QuestionWindows XP SP2 : The Death of my Chatting Application? Pin
Zishan Haider3-Nov-04 20:04
Zishan Haider3-Nov-04 20:04 
AnswerRe: Windows XP SP2 : The Death of my Chatting Application? Pin
sreejith ss nair3-Nov-04 20:22
sreejith ss nair3-Nov-04 20:22 
GeneralRe: Windows XP SP2 : The Death of my Chatting Application? Pin
Zishan Haider4-Nov-04 17:57
Zishan Haider4-Nov-04 17:57 
Generalset enter key instead of tab key Pin
amalatsliit3-Nov-04 18:57
amalatsliit3-Nov-04 18:57 
GeneralRe: set enter key instead of tab key Pin
DanieVanEck3-Nov-04 19:36
DanieVanEck3-Nov-04 19:36 
GeneralRe: set enter key instead of tab key Pin
DanieVanEck3-Nov-04 19:41
DanieVanEck3-Nov-04 19:41 
Here is a better solution. Place this code in a common keydown event between all the textboxes. Then set the taborder of the textboxes in the order that they sould be focussed.

private void textBox1_KeyDown_1(object sender, System.Windows.Forms.KeyEventArgs e)
{
int i = ((TextBox)sender).TabIndex;
if (e.KeyCode == Keys.Enter)
{
foreach (Control c in this.Controls)
{
if (c is TextBox)
{
if (((TextBox)c).TabIndex == i + 1)
{
c.Focus();
}
}
}
}
}
GeneralRe: set enter key instead of tab key Pin
sreejith ss nair3-Nov-04 19:50
sreejith ss nair3-Nov-04 19:50 
GeneralRe: set enter key instead of tab key Pin
Jay Shankar4-Nov-04 15:03
Jay Shankar4-Nov-04 15:03 
GeneralRe: set enter key instead of tab key Pin
amalatsliit10-Mar-05 18:08
amalatsliit10-Mar-05 18:08 
Generalhelp with a new control Pin
tom_dx3-Nov-04 16:03
tom_dx3-Nov-04 16:03 
GeneralRe: help with a new control Pin
sreejith ss nair3-Nov-04 16:55
sreejith ss nair3-Nov-04 16:55 
GeneralRe: help with a new control Pin
Dave Kreskowiak3-Nov-04 17:18
mveDave Kreskowiak3-Nov-04 17:18 
GeneralRe: help with a new control Pin
Roger Alsing4-Nov-04 2:26
Roger Alsing4-Nov-04 2:26 
GeneralRe: help with a new control Pin
Dave Kreskowiak4-Nov-04 6:23
mveDave Kreskowiak4-Nov-04 6:23 

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.