Re: text box: Key_Down() & KeyPress() does not receive <DELETE> button?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



It means I have a special unique text box?????
What I do:
1.
select (highlight) text or part of it inside text box
2.
Hit DELETE button
3.
Nothing happens to the text box content
Jack

"Jan Hyde (VB MVP)" <StellaDrinker@xxxxxxxxxxxxxxxxxxx> wrote in message
news:4vtal3dnbbbfhe1ivcjlebfmckepbv44uv@xxxxxxxxxx
"Jack" <replyto@it>'s wild thoughts were released on Mon, 3
Dec 2007 23:19:29 -0500 bearing the following fruit:

What I need is to have a code deleting contents of the text box when the
content (or part of it) is selected and the <Delete> key is pressed.
Jack

Now correct me if I'm wrong, but textboxes do this anyway
without any code needed.

J





"Jack" <replyto@it> wrote in message
news:%23kIGvwiNIHA.5360@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I have a text box which Key_Down() & KeyPress() events are not
activated when <DELETE> key is pressed.
Is that normal?
How to detect that <DELETE> key press?
Jack



--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde


.


Quantcast