View Full Version : سوال: ارسال فوكوس به دكمه
m4ever
شنبه 30 خرداد 1388, 20:46 عصر
با سلام
مي خواهم در سورس نوشته شده ارسالي با كليك دكمه اينتر بر روي تكست باكس ؛ دكمه start كليك شود.
با تشكر
Babak.Hassanpour
شنبه 30 خرداد 1388, 21:01 عصر
این کل کدیه که باید اضافه کنید
Private Sub txttime1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
cmdstart1_Click (1)
End If
End Sub
Private Sub txttime2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
cmdstart2_Click (0)
End If
End Sub
Private Sub txttime3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
cmdstart3_Click (0)
End If
End Sub
Private Sub txttime4_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
cmdstart4_Click (1)
End If
End Sub
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.