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

.NET (Core and Framework)

 
Generalrun-time form designer Pin
dur_kart4-Dec-02 3:17
dur_kart4-Dec-02 3:17 
GeneralActivator.CreateInstance() and JITing Pin
Jarrod Marshall3-Dec-02 16:17
Jarrod Marshall3-Dec-02 16:17 
GeneralRe: Activator.CreateInstance() and JITing Pin
James T. Johnson3-Dec-02 16:48
James T. Johnson3-Dec-02 16:48 
GeneralRe: Activator.CreateInstance() and JITing Pin
Jarrod Marshall3-Dec-02 17:12
Jarrod Marshall3-Dec-02 17:12 
GeneralRe: Activator.CreateInstance() and JITing Pin
James T. Johnson3-Dec-02 20:41
James T. Johnson3-Dec-02 20:41 
GeneralWeird OnKeyDown bug... Pin
Jon Rista3-Dec-02 11:23
Jon Rista3-Dec-02 11:23 
GeneralRe: Weird OnKeyDown bug... Pin
Jeff J4-Dec-02 18:32
Jeff J4-Dec-02 18:32 
GeneralRe: Weird OnKeyDown bug... Pin
Jon Rista5-Dec-02 8:46
Jon Rista5-Dec-02 8:46 
They are siblings on a form.

After more testing, this seems to be a .NET issue. By default, .NET seems to shift focus when the arrow keys are pressed down. Focus is automatically taken from one control and moved to the next until it hits a control that can keep the focus. For example, if you put a button, a checkbox, a textbox, and a radio button on a form, in top-down order, you can try this:

Click the button. Press down arrow three times. You will see the focus shift from the button, to the checkbox, and stop at the textbox, never reaching the radio button. Somehow the textbox is keeping the focus, although how I do not know.

I need to figure out what .NET does that prevents a custom control derived from the Control class from keeping focus once it has it. Well, rather, keeping focus when the arrow keys are pressed, it keeps focus for all other key events.
GeneralCLASS DIAGRAM Pin
Anonymous3-Dec-02 0:58
Anonymous3-Dec-02 0:58 
GeneralRe: CLASS DIAGRAM Pin
David Stone3-Dec-02 19:05
sitebuilderDavid Stone3-Dec-02 19:05 
GeneralGraphics transform Pin
Stan Shannon2-Dec-02 7:26
Stan Shannon2-Dec-02 7:26 
Generalclass doesn't support automation Pin
Molina29-Nov-02 7:24
Molina29-Nov-02 7:24 
GeneralThrow exception in a constructor... Pin
Ray Cassick27-Nov-02 17:52
Ray Cassick27-Nov-02 17:52 
GeneralRe: Throw exception in a constructor... Pin
Jeff J2-Dec-02 8:43
Jeff J2-Dec-02 8:43 
GeneralRe: Throw exception in a constructor... Pin
Burt Harris8-Dec-02 12:38
Burt Harris8-Dec-02 12:38 
GeneralMethods in WMI custom class Pin
QEugene_rus24-Nov-02 17:17
sussQEugene_rus24-Nov-02 17:17 
Generalhelp: executing a transform on a schema Pin
LongRange.Shooter22-Nov-02 18:49
LongRange.Shooter22-Nov-02 18:49 
GeneralImpersonate remote caller Pin
solidstore21-Nov-02 23:15
solidstore21-Nov-02 23:15 
QuestionHow to make DrawString draws normally without World Transformation (GDI+)'s effect? Pin
Ruxo Zheng21-Nov-02 16:36
Ruxo Zheng21-Nov-02 16:36 
GeneralExposing C# COM object from Windows Service Pin
solidstore21-Nov-02 3:35
solidstore21-Nov-02 3:35 
QuestionWindowsIdentity is unusable in Win9x/ME? Pin
Ruxo Zheng20-Nov-02 23:17
Ruxo Zheng20-Nov-02 23:17 
AnswerRe: WindowsIdentity is unusable in Win9x/ME? Pin
David Stone3-Dec-02 19:09
sitebuilderDavid Stone3-Dec-02 19:09 
GeneralRe: WindowsIdentity is unusable in Win9x/ME? Pin
Ruxo Zheng3-Dec-02 20:05
Ruxo Zheng3-Dec-02 20:05 
GeneralWants to use Point and Rectangle :(( Pin
Paul Selormey19-Nov-02 15:23
Paul Selormey19-Nov-02 15:23 
GeneralRe: Wants to use Point and Rectangle :(( Pin
ian mariano20-Nov-02 3:09
ian mariano20-Nov-02 3:09 

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.