Computer Science Canada

Text box -> enter -> execute proc

Author:  Justin_ [ Thu Jan 19, 2006 10:52 am ]
Post subject:  Text box -> enter -> execute proc

How can I make it perform a procedure when a person hits enter in a text box?

Author:  pavol [ Thu Jan 19, 2006 12:03 pm ]
Post subject: 

under the textbox_keypress procedure or which ever one has KeyAscii as a parameter you could wite the following code:
code:
If KeyAscii = 13 (which is the ascii value for enter) Then
    Call whatever
End If


: