Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8827485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:22:57+00:00 2026-06-14T07:22:57+00:00

I have a bug in my application that I don’t know how to how

  • 0

I have a bug in my application that I don’t know how to how to attack. Basically, key events “go missing” after some time. I have added event handlers to KeyDown, KeyPressed and KeyUp that write to the console (both for the Form and one of its TextBoxes). Here’s the correct order of things:

control_PreviewKeyDown
ShellForm_KeyDown
control_KeyDown
ShellForm_KeyPress
control_KeyPress
ShellForm_KeyUp
control_KeyUp

In the failed state (which I can’t reproduce consistently), I get these events when pressing a key (TextBox has focus):

ShellForm_KeyUp
control_KeyUp

Form.KeyPreview is true.

It’s the same for all TextBoxes in the Form; they are not disabled and not set to readonly, but it’s no longer possible to write text.

Problem is, I don’t really know where to begin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:22:58+00:00Added an answer on June 14, 2026 at 7:22 am

    Begin with Application.AddMessageFilter(...) just to intercept the flow of events.
    You can find some ideas here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a bug in our application that does not occur every time and
I have a bug that I don't know how to fix or even reproduce:
We have this bug that only appears 30% of the time for the Release
I have a weird bug in my application that causes an activity to relaunch
I have a C++ application that had a one time assertion failure that I
I have a bug in my code that made me think I don't fully
We have a Windows Form application that targets .Net Framework 4.0. After installing .Net
I inherited an Access application that I have made some changes to. When I
I have bug with UIImagePickerController which source type is camera. Sometimes after controller appeared,
i have bug that i cannot find, i have Class Point with method who

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.