General information
Category:
Forms & Form designer
Title:
Incremental search in text box
I'm trying to make a incremental search text box.. where I want to update a list box with the values which matches what user is typing..
currently I've written following code in keypress of textbox..
IF between(nKeyCode,32,126)
lcValue = lcValue + chr(nKeyCode)
ENDIF
IF nKeyCode = 127
lcValue = leftc(lcValue,len(lcValue)-1)
ENDIF
the problem is, if a user presses home key and delete then the lcvalue is not properly updated...
Actually I want the correct value as soon as the user presses any key in keypress event..
Pls help..
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only