Re: Delete Key behavior
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hi Joemanc,
Are you processing text in a textbox using the KeyPress event? If so, not
that the delete key does not appear in this event, but you can trap it in
KeyUp/KeyDown.
On Mon, 21 Aug 2006 20:43:01 +0200, Joemanc <jmanci@xxxxxxxxxxxxxxxxxxxx>
wrote:
I've converted my VB6 app to VB.NET 2003. For some strange reason, the
delete
key will not work in any of my textboxes in the application. The
backspace
key works just fine. The delete key works in textboxes in VB6. Is there
some
new event that I need to code for the delete key in VB.NET?
--
Happy Coding!
Morten Wennevik [C# MVP]
.
Relevant Pages
- Re: How check if key pressed in any textbox on winform
... As alternative for shiva's answer you can make a keypress event for all your ... textboxes on your form. ... Assuming that the textboxes are not on another control as a panel (when that ... Private Sub Form1_Load(ByVal sender As Object, ... (microsoft.public.dotnet.languages.vb) - Re: How can I make the Enter key act like the Tab key in a VB6 form?
... or make all your textboxes part of a control array. ... Private Sub Text1_KeyPress ... you'll have to code for each textbox KeyPress event. ... (microsoft.public.vb.com) - Re: Adding controls at Runtime
... "Morten Wennevik" wrote: ... > Just create a TextBox, or ArrayList, and put all your TabPage TextBoxes in it. ... >> private void SomeOtherMethod() ... >>> Happy coding! ... (microsoft.public.dotnet.languages.csharp) - Re: Delete Key behavior
... Morton - I tried trapping keys using Keydown, ... "Morten Wennevik" wrote: ... Delete keypress in .NET? ... textboxes and the different forms and could not find any differences. ... (microsoft.public.dotnet.general) - Re: Problem with updating tex boxes from combo boxes.
... textboxes. ... John W. Vinson [MVP] ... (microsoft.public.access.forms) |
|