|
-
Jul 10th, 2000, 12:38 PM
#1
Thread Starter
Fanatic Member
howdy,
how do I have a text box, that after entering text and hitting the ENTER key, my code runs.
example.
Private Sub Text2_KeyPress(KeyAscii As Integer)
dim num as integer
num = text2.text
If KeyAscii = 13 Then
label1.caption = num +5
End If
End Sub
I don't know if this makes sense but I bet someone can
easily figure it out.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|