Capturing keystrokes in textbox

G

Guest

Is there any way I can capture the value being entered into a text box
character by character as it is entered? The solution needs to take into
account backspacing, the home key, the delete key etc. I'd rather not try to
do this via Keypress event. I tried the On Change event but the value was
always Null.

The reason I want to do this is to implement a listbox that auto scans a
three-level keyword table and shows the matches as each character is typed. A
combo box cannot do this.
 
G

Guest

Hi,

Use the on change event, but you need to explicitly refer to the text
property, otherwise it will return null.

eg: me.TEXTBOXNAME.text

Damian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top