ASA i am working in VB first time,i have a problem while working with RitchTextBox, i want that whenever i press any key first i should analyze and then it display in RichTextBox if i want's plz help me
RichTextBox
Collapse
X
-
Tags: None
-
You need to capture the keypress event.Originally posted by Taymoor KhanASA i am working in VB first time,i have a problem while working with RitchTextBox, i want that whenever i press any key first i should analyze and then it display in RichTextBox if i want's plz help me -
Also consider the KeyDown and/or KeyUp events, if you need information such as the state of the Shift, Ctrl or Alt keys. But if you can use it, KeyPress will be much simpler.Originally posted by AricCYou need to capture the keypress event.Comment
-
-
Not necessarily.Originally posted by vijaydiwakarIt Is better to use keydown event instead of Keypress/Keyup event
The functionality is slightly different. Which one is better depends on exactly what you need from it. Which is the point I made in my previous post.Comment
Comment