Key Pressed
Hello :)Got it. As Matt Fisher told I used CType(ASC()) functions to convert e.KeyChar to type KeysThank you ebery oneRegardsP_N_G
View ArticleKey Pressed
hello :)There is some problem in detecting backspace key in textbox's key pressed eventMsgBox(e.KeyChar) shows some rectangle when backspace key is pressedRegardsP_N_G
View ArticleKey Pressed
You are right Matt Up and Down Arrow keys cannot fire TextChanged event. My code causes textchanged event when up and down arrow keys are pressed.But main problem is BackSpace key. When pressed it does...
View ArticleKey Pressed
This reply assumes you're using Windows Forms.I don't think TextChanged is the right event, because it could fire when no key is pressed. For example, the user could paste into a textbox by...
View ArticleKey Pressed
How is the TextChanged event going to occur as a result of the Up or Down Arrow keys being pressed? If you can fire the TextChanged event as a result of an Up or Down Arrow key being pressed, this...
View ArticleKey Pressed
Why don't you use the KeyDown event instead? Because I want to take action in textchanged event if back space key is not pressed.
View ArticleKey Pressed
Hello BLeg and Jinzai :)Thanks for your replies. Actually intention is to determine if BackSpace or Up And Down Arrow keys were pressed. P_N_G
View ArticleKey Pressed
It is a little more difficult than this, but not much:Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles RichTextBox1.TextChanged Dim str As...
View ArticleKey Pressed
This is kind of a hack, but here you go...Private sub TextBox1_TextChanged(ByVal sender as Object, ByVal e as System.EventArgs) Handles TextBox1.TextChanged Dim keyPressed As String =...
View ArticleKey Pressed
Hello :)In textbox's textchanged event can we determine which key was pressed ?RegardsP_N_G
View Article