You could set the focus to the button

VB Code:
  1. Private Sub Text2_LostFocus()
  2.    if len(text1.text) > 0 then   cmd2.SetFocus
  3. End Sub