Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
nidhelp7-Aug-05 15:04
nidhelp7-Aug-05 15:04 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
Rob Graham7-Aug-05 16:41
Rob Graham7-Aug-05 16:41 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
Mohamad Al Husseiny7-Aug-05 21:02
Mohamad Al Husseiny7-Aug-05 21:02 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
nidhelp7-Aug-05 22:42
nidhelp7-Aug-05 22:42 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
Mohamad Al Husseiny7-Aug-05 22:50
Mohamad Al Husseiny7-Aug-05 22:50 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
nidhelp7-Aug-05 23:47
nidhelp7-Aug-05 23:47 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
Mohamad Al Husseiny8-Aug-05 0:41
Mohamad Al Husseiny8-Aug-05 0:41 
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
nidhelp9-Aug-05 15:44
nidhelp9-Aug-05 15:44 
first the user keys in something in the textbox and then he press enter on the keyboard.. after enter key is pressed, i want to move to tabPage6..

this is what i did:

private void button3_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if(e.KeyChar==(char)13)
{
this.GetNextControl(button3,true).Focus();
tabControl1.Focus();
tabControl1.SelectedTab=tabPage6;
e.Handled=true;
}
}

but when i run the app and i press enter, tabPage6 is not displayed.. only when i click on the button it will be displayed..

thanks again for your kind attention! =)
GeneralRe: A text control that responds to the event when "Enter" key is pressed Pin
Mohamad Al Husseiny10-Aug-05 11:59
Mohamad Al Husseiny10-Aug-05 11:59 
GeneralSerialze/Deserialize mixed xml elements Pin
michaelreian6-Aug-05 18:53
michaelreian6-Aug-05 18:53 
GeneralRe: Serialze/Deserialize mixed xml elements Pin
Guffa7-Aug-05 0:03
Guffa7-Aug-05 0:03 
GeneralRe: Serialze/Deserialize mixed xml elements Pin
michaelreian7-Aug-05 0:21
michaelreian7-Aug-05 0:21 
GeneralRe: Serialze/Deserialize mixed xml elements Pin
Guffa7-Aug-05 2:24
Guffa7-Aug-05 2:24 
Questiong.DrawString to display floating point? Pin
...---...6-Aug-05 16:15
...---...6-Aug-05 16:15 
AnswerRe: g.DrawString to display floating point? Pin
Rob Graham6-Aug-05 16:41
Rob Graham6-Aug-05 16:41 
GeneralRe: g.DrawString to display floating point? Pin
...---...7-Aug-05 7:54
...---...7-Aug-05 7:54 
GeneralRe: g.DrawString to display floating point? Pin
Rob Graham7-Aug-05 8:14
Rob Graham7-Aug-05 8:14 
AnswerRe: g.DrawString to display floating point? Pin
Sebrell6-Aug-05 17:04
Sebrell6-Aug-05 17:04 
GeneralWhen Public isnt really Public Pin
MrEyes6-Aug-05 8:57
MrEyes6-Aug-05 8:57 
GeneralRe: When Public isnt really Public Pin
Judah Gabriel Himango6-Aug-05 15:05
sponsorJudah Gabriel Himango6-Aug-05 15:05 
GeneralRe: When Public isnt really Public Pin
Robert Rohde7-Aug-05 6:00
Robert Rohde7-Aug-05 6:00 
GeneralRe: When Public isnt really Public Pin
Judah Gabriel Himango7-Aug-05 19:09
sponsorJudah Gabriel Himango7-Aug-05 19:09 
GeneralRe: When Public isnt really Public Pin
Luis Alonso Ramos6-Aug-05 15:17
Luis Alonso Ramos6-Aug-05 15:17 
GeneralRe: When Public isnt really Public Pin
MrEyes7-Aug-05 2:07
MrEyes7-Aug-05 2:07 
GeneralRe: When Public isnt really Public Pin
Dario Solera7-Aug-05 5:49
Dario Solera7-Aug-05 5:49 

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.