Delete key doesn't remove selection in TextBox
Posted on 2005-03-18
Hello, VB Experts.
Though I have quite a bit of experience with other languages, including "VB-classic", I'm rather new to VB.Net. So I hope that the solution to this problem is obvious.
I have several TextBoxes on a form that seem to behave normally except for the case that there is text selected in the TextBox and I use the <Delete> key. I expect that the selected text should be deleted, but in fact nothing happens.
I have looked for a property that might control this behaviour, but cannot see anything that is obvious. I guess that I could trap the KeyUp event and delete the text in code, but I expect to have hundreds of TextBoxes in this application when I am done, and am not happy about this as a solution.
Is there an easy/obvious fix for this?
Thanks for any suggestions.