Tabbing to next edit box using Enter key
-
How do I tab to the next edit box using the Enter key?? Also how do I do a message box in c#?? Thanks
-
How do I tab to the next edit box using the Enter key?? Also how do I do a message box in c#?? Thanks
I don't know about tabbing with the enter key but i can help you with the message box. do this and make sure caps are correct it is important in C# MessageBox.Show("type string to display here, in quotes","here in quotes again type what do be displayed at the top of the message box",MessageBoxButtons.OK(this is to choose from different buttons on a message box),MessageBoxIcon.Error) hope this helped:)
-
I don't know about tabbing with the enter key but i can help you with the message box. do this and make sure caps are correct it is important in C# MessageBox.Show("type string to display here, in quotes","here in quotes again type what do be displayed at the top of the message box",MessageBoxButtons.OK(this is to choose from different buttons on a message box),MessageBoxIcon.Error) hope this helped:)
C#:
private void textBox1_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if (e.KeyData.Equals(Keys.Enter))
{
textBox2.Focus();
}
}
:) Vb:
Public Function TwinsOnWay(ByVal twins As String) As String
Select Case twins
Case "Gender"
Return "Two Girls"
End Select
End Function
-
I don't know about tabbing with the enter key but i can help you with the message box. do this and make sure caps are correct it is important in C# MessageBox.Show("type string to display here, in quotes","here in quotes again type what do be displayed at the top of the message box",MessageBoxButtons.OK(this is to choose from different buttons on a message box),MessageBoxIcon.Error) hope this helped:)