Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
QuestionEmpty Crystal Report Pin
WillemM9-Oct-06 7:12
WillemM9-Oct-06 7:12 
AnswerRe: Empty Crystal Report Pin
WillemM9-Oct-06 21:05
WillemM9-Oct-06 21:05 
AnswerRe: Empty Crystal Report Pin
WillemM10-Oct-06 6:24
WillemM10-Oct-06 6:24 
QuestionHow could this not work? Pin
nicknotyet9-Oct-06 6:40
nicknotyet9-Oct-06 6:40 
AnswerRe: How could this not work? Pin
nicknotyet9-Oct-06 6:44
nicknotyet9-Oct-06 6:44 
GeneralRe: How could this not work? Pin
User 66589-Oct-06 7:12
User 66589-Oct-06 7:12 
JokeRe: How could this not work? Pin
Guffa9-Oct-06 7:48
Guffa9-Oct-06 7:48 
Questionkeyup/keypress event for forms Pin
jeweladdict9-Oct-06 6:38
jeweladdict9-Oct-06 6:38 
How would i go about assigning the F12 key to focus on a textbox within a form? Meaning when a form is active, if the f12 key is pressed (doesn't matter which component is active) the focus will be set to a certain textbox.

I know how to set the event when a certain component is active, but if i want to set a global keyup event, how would i do so?

Here is the code for a textbox keyup:

this.textBox_units.KeyUp += new System.Windows.Forms.KeyEventHandler this.textBox_units_EnterKeyPressed);

private void textBox_units_EnterKeyPressed(object sender, System.Windows.Forms.KeyEventArgs e )
{
if(( e.KeyCode == Keys.Enter ) || ( e.KeyCode == Keys.Return ))
{
this.textBox_upc.Focus();
}
}
AnswerRe: keyup/keypress event for forms Pin
Stefan Troschuetz9-Oct-06 7:08
Stefan Troschuetz9-Oct-06 7:08 
GeneralRe: keyup/keypress event for forms Pin
jeweladdict9-Oct-06 7:18
jeweladdict9-Oct-06 7:18 
QuestionSetup creation VS2005 Pin
Charith Jayasundara9-Oct-06 6:19
Charith Jayasundara9-Oct-06 6:19 
AnswerRe: Setup creation VS2005 Pin
Stefan Troschuetz9-Oct-06 7:16
Stefan Troschuetz9-Oct-06 7:16 
QuestionMS Access relationships manipulation Pin
Juan Pedro Prez9-Oct-06 5:38
Juan Pedro Prez9-Oct-06 5:38 
QuestionGetting primary keys from GetSchemaTable Pin
il_masacratore9-Oct-06 5:15
il_masacratore9-Oct-06 5:15 
QuestionPrinters installed on a remote PC Pin
Mircea Puiu9-Oct-06 4:54
Mircea Puiu9-Oct-06 4:54 
QuestionPopulating HTML fields in a AxWebBrowser Pin
kozu9-Oct-06 4:40
kozu9-Oct-06 4:40 
AnswerRe: Populating HTML fields in a AxWebBrowser Pin
led mike9-Oct-06 6:03
led mike9-Oct-06 6:03 
QuestionFind Application Environment at runtime Pin
pranu_139-Oct-06 4:38
pranu_139-Oct-06 4:38 
AnswerRe: Find Application Environment at runtime Pin
S. Senthil Kumar10-Oct-06 2:59
S. Senthil Kumar10-Oct-06 2:59 
GeneralRe: Find Application Environment at runtime Pin
pranu_1311-Oct-06 20:36
pranu_1311-Oct-06 20:36 
QuestionCannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 4:16
sleepless_b9-Oct-06 4:16 
AnswerRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 5:05
led mike9-Oct-06 5:05 
GeneralRe: Cannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 5:52
sleepless_b9-Oct-06 5:52 
GeneralRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 6:02
led mike9-Oct-06 6:02 
QuestionRe: Cannot determine an efficient encryption Model Pin
beatles169210-Oct-06 2:43
beatles169210-Oct-06 2:43 

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.