Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
Generalmusic files Pin
jphuphilly8-Mar-04 2:57
jphuphilly8-Mar-04 2:57 
GeneralRe: music files Pin
Peter Greenall8-Mar-04 12:07
Peter Greenall8-Mar-04 12:07 
QuestionOutlook and word reference?? Pin
Reinier van de Wetering7-Mar-04 23:37
Reinier van de Wetering7-Mar-04 23:37 
AnswerRe: Outlook and word reference?? Pin
fnm8-Mar-04 3:18
fnm8-Mar-04 3:18 
AnswerRe: Outlook and word reference?? Pin
Heath Stewart8-Mar-04 4:39
protectorHeath Stewart8-Mar-04 4:39 
QuestionHow to fire KeyDown Event while pressing TAB key Pin
esupport7-Mar-04 23:13
esupport7-Mar-04 23:13 
AnswerRe: How to fire KeyDown Event while pressing TAB key Pin
Heath Stewart8-Mar-04 4:34
protectorHeath Stewart8-Mar-04 4:34 
GeneralRe: How to fire KeyDown Event while pressing TAB key Pin
esupport8-Mar-04 16:57
esupport8-Mar-04 16:57 
I still can't make it work. Maybe I did some way wrong.
Actually, what I want is to create a customize NumericUpDown(nud) as a class component.
Then, when I create a winform, I can drag and drop the customized nud from toolbox into the winform.
In the winform, and where the nud is, a KeyDown event is binded to it. In the KeyDown Event, I would like to have the code below:

if(e.Keys == Keys.Tab || e.Keys == Keys.Enter)
{
// ...
// Do Something.... some checking here
// ...

//After the checking
//Then only I "manually" call SelectNextControl method
this.SelectNextControl(Control(sender), true, true, true, true);
}

I've put in the "Override IsInputKeys" code and the OnTextBoxKeyPress as well in the component class. When I run debugger, I noticed that Tab Key didn't go into OnTextBoxKeyPress.

Maybe you have to describe more in detail. Thanks.
GeneralCreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett7-Mar-04 20:39
Matthew Hazlett7-Mar-04 20:39 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 3:13
protectorNick Parker8-Mar-04 3:13 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:05
Matthew Hazlett8-Mar-04 9:05 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 15:06
Matthew Hazlett8-Mar-04 15:06 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 17:44
protectorNick Parker8-Mar-04 17:44 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 18:45
Matthew Hazlett8-Mar-04 18:45 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Heath Stewart8-Mar-04 4:28
protectorHeath Stewart8-Mar-04 4:28 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:07
Matthew Hazlett8-Mar-04 9:07 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 9:19
protectorNick Parker8-Mar-04 9:19 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
leppie8-Mar-04 7:14
leppie8-Mar-04 7:14 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:06
Matthew Hazlett8-Mar-04 9:06 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 16:35
Matthew Hazlett8-Mar-04 16:35 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
leppie9-Mar-04 6:20
leppie9-Mar-04 6:20 
Question.NET interfaces - why doesn't this work? Pin
Judah Gabriel Himango7-Mar-04 19:00
sponsorJudah Gabriel Himango7-Mar-04 19:00 
AnswerRe: .NET interfaces - why doesn't this work? Pin
Meysam Mahfouzi8-Mar-04 0:02
Meysam Mahfouzi8-Mar-04 0:02 
GeneralRe: .NET interfaces - why doesn't this work? Pin
Judah Gabriel Himango8-Mar-04 4:32
sponsorJudah Gabriel Himango8-Mar-04 4:32 
AnswerRe: .NET interfaces - why doesn't this work? Pin
Werdna8-Mar-04 4:20
Werdna8-Mar-04 4:20 

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.