14
Ноябрь
2008
Как передать фокус по нажатию Enter?
Как передать фокус по нажатию Enter?
Option Explicit Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyReturn Then Text2.SetFocus End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyReturn Then Text1.SetFocus End Sub