R
roidy
Is there an event for when the return key is pressed after text has been
entered into a textbox control?
for example I have a textbox and button labeled 'Search', the user enters a
string into the textbox and then presses the search button and a search
function is called. I would also like to just be able to enter text into the
textbox and when the user presses return the search fucntion is called.
The only way I can think of is to use a key down event, but what value for
e.KeyChar is the return key?
Rob
entered into a textbox control?
for example I have a textbox and button labeled 'Search', the user enters a
string into the textbox and then presses the search button and a search
function is called. I would also like to just be able to enter text into the
textbox and when the user presses return the search fucntion is called.
The only way I can think of is to use a key down event, but what value for
e.KeyChar is the return key?
Rob