Search results

  1. L

    Detect the next control to get the focus before the OnExit event of the current one

    The check is not do in OnExit event, It is do in OnLostFocus event. I do'nt make a real program. I only present a method. It can cancel the check.
  2. L

    Detect the next control to get the focus before the OnExit event of the current one

    an example .... Dim ctrl As String Dim errMsg As String Private Sub cbDept_GotFocus() If ctrl <> "" Then If errMsg <> "" Then MsgBox errMsg errMsg = "" End If Controls(ctrl).SetFocus ctrl = "" End If End Sub Private Sub...
Back
Top Bottom