Quantcast
Channel: Key Pressed
Browsing all 11 articles
Browse latest View live

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 Article



Key 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 Article

Key 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 Article

Key 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 Article

Key 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 Article


Key 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 Article

Key Pressed

Why don't you use the KeyDown event instead?

View Article

Key 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 Article


Key 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 Article


Key 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 Article

Key Pressed

Hello :)In textbox's textchanged event can we determine which key was pressed ?RegardsP_N_G

View Article
Browsing all 11 articles
Browse latest View live


Latest Images