how do I get TextBox to never beep?

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

TextBox beeps on Control+Key presses that I need to capture at the form
level. I can stop the beeps by 'handling' them in a TextBox inheritor, but
then the form can't capture them and I have to either raise special events
and recursively search all form controls to handle those or cause the
control to try to notify its form (actually, the MDI parent) directly. Both
of these methods are ugly, I'm hoping someone can point me to an obscure
TextBox option to shut off its lovely beeping "feature".

Bob

P.S. No, I can't use RichTextBox because it doesn't give a proper
FixedSingle border, and I can't get .Net to reliably make a custom
FixedSingle control border with NCPaint.
 
You can set the Forms KeyPreview to true. This way the form will see these
keystrokes first.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top