Click here to Skip to main content
15,885,546 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralQuestion for the .NET experts Pin
gvos5-Oct-04 15:55
gvos5-Oct-04 15:55 
GeneralRe: Question for the .NET experts Pin
sreejith ss nair6-Oct-04 21:13
sreejith ss nair6-Oct-04 21:13 
GeneralRe: Question for the .NET experts Pin
sreejith ss nair7-Oct-04 3:12
sreejith ss nair7-Oct-04 3:12 
GeneralData Grid columns Pin
janigorse4-Oct-04 19:36
janigorse4-Oct-04 19:36 
GeneralRe: Data Grid columns Pin
Anonymous5-Oct-04 13:48
Anonymous5-Oct-04 13:48 
GeneralRe: Data Grid columns Pin
HyVong8-Oct-04 8:47
HyVong8-Oct-04 8:47 
Generalmsgbox in form.load/activate causes form to close Pin
dmbf1b54-Oct-04 14:45
dmbf1b54-Oct-04 14:45 
GeneralAcceptButton and KeyEvents Pin
Gigiwig4-Oct-04 8:30
Gigiwig4-Oct-04 8:30 
Hello,
I have a problem with Key-Events on Forms in connection with hitting
the AcceptButton.
Situation:
- MdiChildForm 1 with DataGrid for selecting records. This DataGrid
has AllowNavigation false, ReadOnly true and all the textBoxes of all
the DataGridTextColumns are disabled, too.
The KeyUp-Event of this DataGrid is bound to a method that opens a
second form for editing that selected record when the Enter-key
(KeyValue 13) is used.
- EditForm 2 has Button btnOK for saving the data and closing the
form. The MdiParent of this form is the same as 1's. The AcceptButton
property is set to btnOK.

Hitting Enter in form 2 closes it (ok, that's what I want) and the
next thing happening is the KeyUp-Event in form 1 and hello ... here
is form 2 again (what is absolutely not wanted). There are neither
KeyDown, KeyPress or KeyUp occuring on form 2 before it closes and no
KeyDown or KeyPress on form 1.

How can I get a useful behaviour? Any hints are appreciated.
GeneralRe: AcceptButton and KeyEvents Pin
sreejith ss nair7-Oct-04 1:09
sreejith ss nair7-Oct-04 1:09 
GeneralMobileIT Pin
hxxbin4-Oct-04 7:01
hxxbin4-Oct-04 7:01 
GeneralQuestions Pin
asifmaniar3-Oct-04 10:21
asifmaniar3-Oct-04 10:21 
GeneralRe: Questions Pin
Nnamdi Onyeyiri4-Oct-04 0:11
Nnamdi Onyeyiri4-Oct-04 0:11 
Questionhow to serialize .net built in object? Pin
JackChen6262-Oct-04 18:16
JackChen6262-Oct-04 18:16 
AnswerRe: how to serialize .net built in object? Pin
Nnamdi Onyeyiri3-Oct-04 7:04
Nnamdi Onyeyiri3-Oct-04 7:04 
AnswerRe: how to serialize .net built in object? Pin
sreejith ss nair6-Oct-04 21:16
sreejith ss nair6-Oct-04 21:16 
QuestionHow to change multiple listbox on selection Pin
pankaj mishra1-Oct-04 19:47
pankaj mishra1-Oct-04 19:47 
AnswerRe: How to change multiple listbox on selection Pin
sreejith ss nair6-Oct-04 21:21
sreejith ss nair6-Oct-04 21:21 
QuestionHow to change combobox on selection Pin
pankaj mishra1-Oct-04 19:46
pankaj mishra1-Oct-04 19:46 
AnswerRe: How to change combobox on selection Pin
Nnamdi Onyeyiri3-Oct-04 7:06
Nnamdi Onyeyiri3-Oct-04 7:06 
GeneralUsing VB.Net code in C#.Net Pin
IT Bug1-Oct-04 0:54
IT Bug1-Oct-04 0:54 
GeneralRe: Using VB.Net code in C#.Net Pin
Colin Angus Mackay1-Oct-04 1:14
Colin Angus Mackay1-Oct-04 1:14 
GeneralRe: Using VB.Net code in C#.Net Pin
IT Bug1-Oct-04 1:23
IT Bug1-Oct-04 1:23 
GeneralRe: Using VB.Net code in C#.Net Pin
Colin Angus Mackay1-Oct-04 1:27
Colin Angus Mackay1-Oct-04 1:27 
GeneralAssembly search path Pin
stittx30-Sep-04 22:08
stittx30-Sep-04 22:08 
GeneralRe: Assembly search path Pin
Nnamdi Onyeyiri1-Oct-04 2:47
Nnamdi Onyeyiri1-Oct-04 2:47 

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.